The invalid write access occurs here:

$ valgrind jasper --input white.jp2 --output white.ppm
==15473== Memcheck, a memory error detector
==15473== Copyright (C) 2002-2013, and GNU GPL'd, by Julian Seward et al.
==15473== Using Valgrind-3.10.0 and LibVEX; rerun with -h for copyright info
==15473== Command: jasper --input white.jp2 --output white.ppm
==15473==
==15473== Invalid write of size 8
==15473==    at 0x4F1C3AA: dec_clnpass (in
/usr/lib/x86_64-linux-gnu/libjasper.so.1.0.0)
==15473==    by 0x4F19212: jpc_dec_decodecblk (in
/usr/lib/x86_64-linux-gnu/libjasper.so.1.0.0)
==15473==    by 0x4F18B30: jpc_dec_decodecblks (in
/usr/lib/x86_64-linux-gnu/libjasper.so.1.0.0)
==15473==    by 0x4E5BBC5: jpc_dec_tiledecode (in
/usr/lib/x86_64-linux-gnu/libjasper.so.1.0.0)
==15473==    by 0x4E5A5CC: jpc_dec_process_sod (in
/usr/lib/x86_64-linux-gnu/libjasper.so.1.0.0)
==15473==    by 0x4E59DF9: jpc_dec_decode (in
/usr/lib/x86_64-linux-gnu/libjasper.so.1.0.0)
==15473==    by 0x4E59A8D: jpc_decode (in
/usr/lib/x86_64-linux-gnu/libjasper.so.1.0.0)
==15473==    by 0x4E53D11: jp2_decode (in
/usr/lib/x86_64-linux-gnu/libjasper.so.1.0.0)
==15473==    by 0x4E450F8: jas_image_decode (in
/usr/lib/x86_64-linux-gnu/libjasper.so.1.0.0)
==15473==    by 0x401531: main (in /usr/bin/jasper)
==15473==  Address 0x0 is not stack'd, malloc'd or (recently) free'd
==15473==
==15473==
==15473== Process terminating with default action of signal 11 (SIGSEGV)
==15473==  Access not within mapped region at address 0x0
==15473==    at 0x4F1C3AA: dec_clnpass (in
/usr/lib/x86_64-linux-gnu/libjasper.so.1.0.0)
==15473==    by 0x4F19212: jpc_dec_decodecblk (in
/usr/lib/x86_64-linux-gnu/libjasper.so.1.0.0)
==15473==    by 0x4F18B30: jpc_dec_decodecblks (in
/usr/lib/x86_64-linux-gnu/libjasper.so.1.0.0)
==15473==    by 0x4E5BBC5: jpc_dec_tiledecode (in
/usr/lib/x86_64-linux-gnu/libjasper.so.1.0.0)
==15473==    by 0x4E5A5CC: jpc_dec_process_sod (in
/usr/lib/x86_64-linux-gnu/libjasper.so.1.0.0)
==15473==    by 0x4E59DF9: jpc_dec_decode (in
/usr/lib/x86_64-linux-gnu/libjasper.so.1.0.0)
==15473==    by 0x4E59A8D: jpc_decode (in
/usr/lib/x86_64-linux-gnu/libjasper.so.1.0.0)
==15473==    by 0x4E53D11: jp2_decode (in
/usr/lib/x86_64-linux-gnu/libjasper.so.1.0.0)
==15473==    by 0x4E450F8: jas_image_decode (in
/usr/lib/x86_64-linux-gnu/libjasper.so.1.0.0)
==15473==    by 0x401531: main (in /usr/bin/jasper)
==15473==  If you believe this happened as a result of a stack
==15473==  overflow in your program's main thread (unlikely but
==15473==  possible), you can try to increase the size of the
==15473==  main thread stack using the --main-stacksize= flag.
==15473==  The main thread stack size used in this run was 8388608.
==15473==
==15473== HEAP SUMMARY:
==15473==     in use at exit: 1,428,880,523 bytes in 3,817,584 blocks
==15473==   total heap usage: 3,817,670 allocs, 86 frees,
1,428,978,051 bytes allocated
==15473==
==15473== LEAK SUMMARY:
==15473==    definitely lost: 0 bytes in 0 blocks
==15473==    indirectly lost: 0 bytes in 0 blocks
==15473==      possibly lost: 0 bytes in 0 blocks
==15473==    still reachable: 1,428,880,523 bytes in 3,817,584 blocks
==15473==         suppressed: 0 bytes in 0 blocks
==15473== Rerun with --leak-check=full to see details of leaked memory
==15473==
==15473== For counts of detected and suppressed errors, rerun with: -v
==15473== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0)
[1]    15473 segmentation fault  valgrind jasper --input white.jp2
--output white.ppm


-- 
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