Closed GoogleCodeExporter closed 8 years ago
Hum, neat example indeed:
$ valgrind ./bin/opj_compress -i img.png -o img.jp2
==9652== Memcheck, a memory error detector
==9652== Copyright (C) 2002-2013, and GNU GPL'd, by Julian Seward et al.
==9652== Using Valgrind-3.9.0 and LibVEX; rerun with -h for copyright info
==9652== Command: ./bin/opj_compress -i /home/mathieu/Téléchargements/img.png
-o img.jp2
==9652==
==9652== Invalid read of size 8
==9652== at 0x413B94: pngtoimage (convert.c:3343)
==9652== by 0x406DFA: main (opj_compress.c:1596)
==9652== Address 0x657b770 is 16 bytes before a block of size 2,211,840 alloc'd
==9652== at 0x4C281F0: calloc (vg_replace_malloc.c:618)
==9652== by 0x4E3FA01: opj_image_create (image.c:61)
==9652== by 0x413A7E: pngtoimage (convert.c:3331)
==9652== by 0x406DFA: main (opj_compress.c:1596)
==9652==
Original comment by mathieu.malaterre
on 25 Mar 2014 at 9:47
Original comment by mathieu.malaterre
on 25 Mar 2014 at 9:47
This issue was closed by revision r2789.
Original comment by mathieu.malaterre
on 25 Mar 2014 at 11:47
Original issue reported on code.google.com by
cutanet....@gmail.com
on 24 Mar 2014 at 3:49Attachments: