Summary: | fitzdraw: several integer overflow issues | ||
---|---|---|---|
Product: | MuPDF | Reporter: | zeniko |
Component: | fitz | Assignee: | Tor Andersson <tor.andersson> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | P4 | ||
Version: | unspecified | ||
Hardware: | PC | ||
OS: | Windows XP | ||
URL: | http://code.google.com/p/sumatrapdf/issues/detail?id=826 | ||
Customer: | Word Size: | --- |
Description
zeniko
2010-01-17 10:20:30 UTC
Wow, big numbers! A more "correct" solution would involve clipping the line segments to the bounding box when we insert them into the edge list. We could put the page bounding box in the edge list struct without too much difficulty. Fixed. I also needed to clamp the float values to a range representable by integers. |