diff options
author | Kim Motoyoshi Kalland <kim.kalland@nokia.com> | 2009-12-18 09:27:59 (GMT) |
---|---|---|
committer | Kim Motoyoshi Kalland <kim.kalland@nokia.com> | 2009-12-18 09:27:59 (GMT) |
commit | 4100b42403399e600e935d15d940c4ac6000816f (patch) | |
tree | 9cdd01ca7e441c08a5b2c317adce0a714b20953b /tests/benchmarks/qhostinfo | |
parent | 4b5b74835f6323415f7df43ddb74caa078c4ab62 (diff) | |
download | Qt-4100b42403399e600e935d15d940c4ac6000816f.zip Qt-4100b42403399e600e935d15d940c4ac6000816f.tar.gz Qt-4100b42403399e600e935d15d940c4ac6000816f.tar.bz2 |
Fixed crash when parsing invalid polygons in svgs.
Since a 2D point consists of two coordinates, it was assumed that
polygons and polylines were described with an even number of
coordinates. When the number of coordinates was odd, the program
would read out of bounds and cause an assert failure.
Task-number: QTBUG-6899
Reviewed-by: Gunnar
Diffstat (limited to 'tests/benchmarks/qhostinfo')
0 files changed, 0 insertions, 0 deletions