aboutsummaryrefslogtreecommitdiff
path: root/src/html.cc
diff options
context:
space:
mode:
authorJohannes Hofmann <Johannes.Hofmann@gmx.de>2010-10-15 22:26:14 +0200
committerJohannes Hofmann <Johannes.Hofmann@gmx.de>2010-10-15 22:26:14 +0200
commit4212c27815f8cf5c8bc51fb5b8643fc420c47473 (patch)
treefe0ce13264a76c3489e841537ac46f8f7b728466 /src/html.cc
parent21d55d46536fcd702a5ae742554e8d353ba64cf9 (diff)
avoid integer overflow in Polygon::linesCross0()
The product of the two zOfVectorProduct() values could overflow. Check both values for different sign instead. Testcase: <html> <body> <img src="doesnt_matter.gif" width="250" height="700" usemap="#themap"> <map name="themap"> <area shape="poly" coords="1,250, 245,270, 223,513" href="http://www.dillo.org"> </map> </body> </html> Reported-by and Testcase-by: corvid <corvid@lavabit.com>
Diffstat (limited to 'src/html.cc')
0 files changed, 0 insertions, 0 deletions