1. 22 Aug, 2015 3 commits
    • Erik de Castro Lopo's avatar
      libFLAC: Fix memory leak · 584a1346
      Erik de Castro Lopo authored
      Leak introduced in commit d9ae5e91. Thanks to lvqcl <lvqcl.mail@gmail.com>
      for pointing it out.
      584a1346
    • Erik de Castro Lopo's avatar
      libFLAC: Add function safe_realloc_() · d9ae5e91
      Erik de Castro Lopo authored
      The new function wraps, realloc() and if the realloc() fails, it
      free()s the old pointer.
      
      This is an improvement on the potential realloc() memory leak that
      was fixed in 15a90626.
      
      Still needs fuzzing to validate it.
      d9ae5e91
    • Erik de Castro Lopo's avatar
      libFLAC/stream_decoder: Fix double free · 684fb3d5
      Erik de Castro Lopo authored
      The american-fuzzy-lop fuzzer found a couple of instances of double
      free() resulting from commit 15a90626.
      
      The problematic free() were the ones associated with use of the
      safe_realloc_mul_2op_() function which can call realloc(ptr,0) which
      according to the realloc manpage is already an implicit free().
      684fb3d5
  2. 13 Aug, 2015 1 commit
  3. 09 Aug, 2015 1 commit
  4. 08 Aug, 2015 4 commits
  5. 01 Aug, 2015 2 commits
  6. 13 Jul, 2015 2 commits
  7. 10 Jul, 2015 1 commit
  8. 08 Jul, 2015 1 commit
  9. 06 Jul, 2015 2 commits
  10. 05 Jul, 2015 3 commits
  11. 04 Jul, 2015 4 commits
  12. 03 Jul, 2015 1 commit
  13. 24 Apr, 2015 1 commit
  14. 18 Apr, 2015 1 commit
  15. 30 Mar, 2015 2 commits
  16. 11 Mar, 2015 1 commit
  17. 24 Feb, 2015 4 commits
  18. 23 Feb, 2015 1 commit
  19. 22 Feb, 2015 1 commit
    • Erik de Castro Lopo's avatar
      src/encode.c : Fix potential infinite loop in flac-toflac encoding. · 8267168d
      Erik de Castro Lopo authored
      A malformed file (generated by AFL) had a 'samples_left_to_process' value
      of greater than the actual numbe of samples. When re-encoding the decoder
      would get to the end of the file and then continuously return a decode
      status of FLAC__STREAM_DECODER_END_OF_STREAM, causing an infinite loop.
      
      Solution is to break out of the loop on two consecutive end-of-stream
      events.
      8267168d
  20. 20 Feb, 2015 2 commits
  21. 18 Feb, 2015 2 commits