diff options
author | Stian Sandvik Thomassen <stian.thomassen@nokia.com> | 2009-08-24 04:01:43 (GMT) |
---|---|---|
committer | Stian Sandvik Thomassen <stian.thomassen@nokia.com> | 2009-08-24 04:01:43 (GMT) |
commit | 6c282e096c160ef0426466042bf4bb4e0e28f0b2 (patch) | |
tree | e9a6aad8c6edb83208232273e754142e61e19c36 /src/scripttools/debugging/qscriptdebugger.cpp | |
parent | f31a7b2d7f08c39dbe2e987ec53bff56ca89c3d1 (diff) | |
download | Qt-6c282e096c160ef0426466042bf4bb4e0e28f0b2.zip Qt-6c282e096c160ef0426466042bf4bb4e0e28f0b2.tar.gz Qt-6c282e096c160ef0426466042bf4bb4e0e28f0b2.tar.bz2 |
Prevented crash when parsing viewBox attribute value
The old code assumed viewBox value of the form "x y w h" or "x,y,w,h",
and would crash when parsing "x,y w,h" (when accessing the fourth list
item which would be out-of-bounds).
Reviewed-by: Trond
Reviewed-by: Kim
Diffstat (limited to 'src/scripttools/debugging/qscriptdebugger.cpp')
0 files changed, 0 insertions, 0 deletions