summaryrefslogtreecommitdiffstats
path: root/src/svg/qsvgrenderer.h
diff options
context:
space:
mode:
authorKim Motoyoshi Kalland <kim.kalland@nokia.com>2009-12-18 09:27:59 (GMT)
committerKim Motoyoshi Kalland <kim.kalland@nokia.com>2009-12-18 09:27:59 (GMT)
commit4100b42403399e600e935d15d940c4ac6000816f (patch)
tree9cdd01ca7e441c08a5b2c317adce0a714b20953b /src/svg/qsvgrenderer.h
parent4b5b74835f6323415f7df43ddb74caa078c4ab62 (diff)
downloadQt-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 'src/svg/qsvgrenderer.h')
0 files changed, 0 insertions, 0 deletions