[gs-bugs] [Bug 692011] New: fz_read broken

bugzilla-daemon at ghostscript.com bugzilla-daemon at ghostscript.com
Wed Mar 2 07:15:20 UTC 2011


http://bugs.ghostscript.com/show_bug.cgi?id=692011

           Summary: fz_read broken
           Product: MuPDF
           Version: unspecified
          Platform: PC
        OS/Version: Windows 7
            Status: NEW
          Severity: normal
          Priority: P4
         Component: fitz
        AssignedTo: tor.andersson at artifex.com
        ReportedBy: zeniko at gmail.com
         QAContact: gs-bugs at ghostscript.com
   Estimated Hours: 0.0


http://darcs.ghostscript.com/darcsweb.cgi/darcsweb.cgi?r=mupdf;a=filediff;h=20110302023816-f546f-50a2168ad40fb7b696e85e7acffd0f0a186eca5f.gz;f=fitz/stm_read.c
causes fz_read to not fill the entire buffer when an input filter requires two
or more read operations to produce enough bytes. Re-adding the while loop fixes
the issue:

do { ... } while (len > count && n > 0);

-- 
Configure bugmail: http://bugs.ghostscript.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the gs-bugs mailing list