Bug 692253

Summary: null-pointer dereference in fz_curvetov
Product: MuPDF Reporter: zeniko
Component: fitzAssignee: Tor Andersson <tor.andersson>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P4    
Version: unspecified   
Hardware: PC   
OS: Windows 7   
URL: http://code.google.com/p/sumatrapdf/issues/detail?id=1474
Customer: Word Size: ---
Attachments: testcase

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.).