diff options
| author | Jüri Valdmann <juri.valdmann@qt.io> | 2018-05-03 13:39:36 +0200 |
|---|---|---|
| committer | Jüri Valdmann <juri.valdmann@qt.io> | 2018-05-17 10:34:33 +0000 |
| commit | c268fd2072615e42196fa40da4c10891c9f3046f (patch) | |
| tree | 7287055c1c7e8fcba19a77581a44585948e69df2 /src/gui/opengl/qopenglvertexarrayobject.cpp | |
| parent | f6fcdfcce9e8d22960d0b4b99547c582531241c6 (diff) | |
QJsonDocument: Reject objects containing themselves in binary JSON
The added test case is a binary JSON file describing an array which contains
itself. This file passes validation even though attempting to convert it to
plain JSON leads to an infinite loop. Fixed by rejecting it in validation.
Task-number: QTBUG-61969
Change-Id: Ib4472e9777d09840c30c384b24294e4744b02045
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
(cherry picked from commit 3fc5500b4f2a8431ac013520e9faf606e893b39a)
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
(cherry picked from commit 7dcb413858dfea8487c2f44b5c64f160b85cd5a0)
Diffstat (limited to 'src/gui/opengl/qopenglvertexarrayobject.cpp')
0 files changed, 0 insertions, 0 deletions
