Bug 692253 - null-pointer dereference in fz_curvetov
Summary: null-pointer dereference in fz_curvetov
Status: RESOLVED FIXED
Alias: None
Product: MuPDF
Classification: Unclassified
Component: fitz (show other bugs)
Version: unspecified
Hardware: PC Windows 7
: P4 normal
Assignee: Tor Andersson
URL: http://code.google.com/p/sumatrapdf/i...
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-06 05:48 UTC by zeniko
Modified: 2011-08-09 14:32 UTC (History)
0 users

See Also:
Customer:
Word Size: ---


Attachments
testcase (487 bytes, application/pdf)
2011-06-06 11:07 UTC, zeniko
Details

Note You need to log in before you can comment on or make changes to this bug.
Description zeniko 2011-06-06 05:48:17 UTC
Loading page 23 of Coranul.pdf from http://ge.tt/8wWt5q4/v leads to a null-pointer dereference due to fz_curvetov being called on an empty path.

Our fix: http://code.google.com/p/sumatrapdf/source/detail?r=3876
Comment 1 zeniko 2011-06-06 11:07:10 UTC
Created attachment 7566 [details]
testcase

BTW: It seems that Adobe Reader doesn't implicitly add fz_moveto(path, 0, 0) but instead just drops the path (the same for fz_lineto, etc.).