[Bug 208370] p5-GD does not read PNG files under mod_perl on 10.2, 10.3RC3

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Mar 28 22:02:30 UTC 2016


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=208370

            Bug ID: 208370
           Summary: p5-GD does not read PNG files under mod_perl on 10.2,
                    10.3RC3
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: Individual Port(s)
          Assignee: freebsd-ports-bugs at FreeBSD.org
          Reporter: papowell at astart.com

Created attachment 168739
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=168739&action=edit
Sample CGI script, test103.png, and additional outputs from tests

p5-GD does not read PNG files when running under mod_perl on 10.2 or 10.3RC3,
but does correctly reads them on 9.3.  A simple CGI test file reads
test103.png.  This fails and the Apache error log contains an error message.

http://localhost/test103.cgi
In the Apache Error log:
  GD Error: gd-png: fatal libpng error: bad parameters to zlib
  GD Warning: gd-png error: setjmp returns error condition 2

Attached is a SHAR file with the test103.png and test103.cgi.  Install these on
the Apache server.  Run the CGI script (example above).  The image PNG will be
displayed but the CGI script will fail to read it.  If you execute the CGI
script using the command line,  it succeeds:

cd ...   # cd to directory containing test103.png, test103.cgi
perl test103.cgi

  ... <h1>images/test103.png</h1><img src="images/test103.png">
      <br> Read Image

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list