Hi,
I'm reopening this bug, cause it seems you forgot to apply the patch James 
send you.

For example, in 
https://alioth.debian.org/scm/viewvc.php/xbubble/src/loadpng.c?view=markup&root=xbubble
i still see the lines:
   /* ensure that we opened a PNG file */
   fread( header, 1, 8, fd );

while the attached patch says something like: 
@@ -55,7 +57,22 @@
     return NULL;
   }
   /* ensure that we opened a PNG file */
-  fread( header, 1, 8, fd );
+  bytes_to_read = 8;
+  header_ptr = header;
+  do {
+    bytes_read = fread( header_ptr, 1, bytes_to_read, fd );
+    if (bytes_read == bytes_to_read)
+ blablablaba...

Thanks. 
-- 
-gaspa-
-----------------------------------------------
--------- http://launchpad.net/~gaspa ---------
------ HomePage: iogaspa.altervista.org -------
-Il lunedi'dell'arrampicatore: www.lunedi.org -




-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to