Advertisement
lionaneesh

Vulnerable.avi -- Valgrind Trace

Nov 23rd, 2011
41
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.78 KB | None | 0 0
  1. $ valgrind avconv -i vulnerable.avi -f null -
  2.  
  3.  
  4. ==13359== Memcheck, a memory error detector
  5. ==13359== Copyright (C) 2002-2011, and GNU GPL'd, by Julian Seward et al.
  6. ==13359== Using Valgrind-3.7.0 and LibVEX; rerun with -h for copyright info
  7. ==13359== Command: avconv -i vulnerable.avi -f null -
  8. ==13359==
  9. avconv version v0.7-1899-ga8fe9a7, Copyright (c) 2000-2011 the Libav developers
  10. built on Nov 21 2011 23:29:36 with gcc 4.5.2
  11. Input #0, avi, from 'vulnerable.avi':
  12. Metadata:
  13. encoder : VirtualDubMod 1.5.1.1a (build 1639/release)
  14. Duration: 00:00:00.42, start: 0.000000, bitrate: 1769 kb/s
  15. Stream #0.0: Video: loco, yuv422p, 188x128, 7.04 tbr, 7.04 tbn, 7.04 tbc
  16. [buffer @ 0x4247a80] w:188 h:128 pixfmt:yuv422p
  17. Output #0, null, to 'pipe:':
  18. Metadata:
  19. encoder : Lavf53.15.0
  20. Stream #0.0: Video: rawvideo, yuv422p, 188x128, q=2-31, 200 kb/s, 90k tbn, 7.04 tbc
  21. Stream mapping:
  22. Stream #0:0 -> #0:0 (loco -> rawvideo)
  23. Press ctrl-c to stop encoding
  24. ==13359== Invalid read of size 4
  25. ==13359== at 0x838E248: loco_decode_plane.clone.4 (bswap.h:42)
  26. ==13359== by 0x838EBE4: decode_frame (loco.c:184)
  27. ==13359== by 0x84A653D: avcodec_decode_video2 (utils.c:739)
  28. ==13359== by 0x807D10F: output_packet (avconv.c:1626)
  29. ==13359== by 0x40ACE36: (below main) (libc-start.c:226)
  30. ==13359== Address 0x423b829 is 28,777 bytes inside a block of size 28,780 alloc'd
  31. ==13359== at 0x40263D1: memalign (vg_replace_malloc.c:694)
  32. ==13359== by 0x402642E: posix_memalign (vg_replace_malloc.c:835)
  33. ==13359== by 0x86708F0: av_malloc (mem.c:83)
  34. ==13359== by 0x8179C77: av_new_packet (avpacket.c:64)
  35. ==13359== by 0x81461C6: av_get_packet (utils.c:269)
  36. ==13359== by 0x80A74FC: avi_read_packet (avidec.c:1065)
  37. ==13359== by 0x8146FD6: av_read_packet (utils.c:723)
  38. ==13359== by 0x7FFFFFFF: ???
  39. ==13359==
  40. ==13359== Invalid read of size 4
  41. ==13359== at 0x838E1F2: loco_decode_plane.clone.4 (bswap.h:42)
  42. ==13359== by 0x838EBE4: decode_frame (loco.c:184)
  43. ==13359== by 0x84A653D: avcodec_decode_video2 (utils.c:739)
  44. ==13359== by 0x807D10F: output_packet (avconv.c:1626)
  45. ==13359== by 0x40ACE36: (below main) (libc-start.c:226)
  46. ==13359== Address 0x423b84d is not stack'd, malloc'd or (recently) free'd
  47. ==13359==
  48. ==13359== Invalid read of size 4
  49. ==13359== at 0x838E3F1: loco_decode_plane.clone.4 (bswap.h:42)
  50. ==13359== by 0x838EBE4: decode_frame (loco.c:184)
  51. ==13359== by 0x84A653D: avcodec_decode_video2 (utils.c:739)
  52. ==13359== by 0x807D10F: output_packet (avconv.c:1626)
  53. ==13359== by 0x40ACE36: (below main) (libc-start.c:226)
  54. ==13359== Address 0x423d3dd is 6,397 bytes inside a block of size 19,024 free'd
  55. ==13359== at 0x4026E46: free (vg_replace_malloc.c:427)
  56. ==13359== by 0x8084F6F: uninit_opts (cmdutils.c:67)
  57. ==13359== by 0x807774E: reset_options (avconv.c:391)
  58. ==13359== by 0x8082948: opt_output_file (avconv.c:3825)
  59. ==13359==
  60. ==13359== Invalid read of size 4
  61. ==13359== at 0x838DD38: loco_decode_plane.clone.4 (bswap.h:42)
  62. ==13359== by 0x838EC37: decode_frame (loco.c:187)
  63. ==13359== by 0x84A653D: avcodec_decode_video2 (utils.c:739)
  64. ==13359== by 0x807D10F: output_packet (avconv.c:1626)
  65. ==13359== by 0x40ACE36: (below main) (libc-start.c:226)
  66. ==13359== Address 0x0 is not stack'd, malloc'd or (recently) free'd
  67. ==13359==
  68. ==13359==
  69. ==13359== Process terminating with default action of signal 11 (SIGSEGV)
  70. ==13359== Access not within mapped region at address 0x0
  71. ==13359== at 0x838DD38: loco_decode_plane.clone.4 (bswap.h:42)
  72. ==13359== by 0x838EC37: decode_frame (loco.c:187)
  73. ==13359== by 0x84A653D: avcodec_decode_video2 (utils.c:739)
  74. ==13359== by 0x807D10F: output_packet (avconv.c:1626)
  75. ==13359== by 0x40ACE36: (below main) (libc-start.c:226)
  76. ==13359== If you believe this happened as a result of a stack
  77. ==13359== overflow in your program's main thread (unlikely but
  78. ==13359== possible), you can try to increase the size of the
  79. ==13359== main thread stack using the --main-stacksize= flag.
  80. ==13359== The main thread stack size used in this run was 8388608.
  81. ==13359==
  82. ==13359== HEAP SUMMARY:
  83. ==13359== in use at exit: 431,194 bytes in 55 blocks
  84. ==13359== total heap usage: 127 allocs, 72 frees, 649,456 bytes allocated
  85. ==13359==
  86. ==13359== LEAK SUMMARY:
  87. ==13359== definitely lost: 0 bytes in 0 blocks
  88. ==13359== indirectly lost: 0 bytes in 0 blocks
  89. ==13359== possibly lost: 0 bytes in 0 blocks
  90. ==13359== still reachable: 431,194 bytes in 55 blocks
  91. ==13359== suppressed: 0 bytes in 0 blocks
  92. ==13359== Rerun with --leak-check=full to see details of leaked memory
  93. ==13359==
  94. ==13359== For counts of detected and suppressed errors, rerun with: -v
  95. ==13359== ERROR SUMMARY: 158417 errors from 4 contexts (suppressed: 17 from 6)
  96. Segmentation fault
  97.  
  98.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement