File: SIGSEGV_with_libpng1.6.diff

package info (click to toggle)
aaphoto 0.45-1
  • links: PTS
  • area: main
  • in suites: bookworm, bullseye, buster, forky, sid, stretch, trixie
  • size: 692 kB
  • sloc: ansic: 4,741; sh: 1,032; makefile: 8
file content (13 lines) | stat: -rw-r--r-- 443 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
Author: Andras Horvath <mail@log69.com>
Description: Fix a segmentation fault with libpng 1.6
============================================================
--- a/aaio.c
+++ b/aaio.c
@@ -1617,7 +1617,6 @@ int BITMAP_WRITE_PNG(char *file_name)
 /*	png_set_packing(png_ptr); */
 
 
-        png_read_update_info(png_ptr, info_ptr);
         rowbytes = png_get_rowbytes(png_ptr, info_ptr);
 
 	row_pointers = malloc(bitmap_height * sizeof (long));