1. 30 Sep, 2015 1 commit
  2. 27 Sep, 2015 1 commit
    • Erik de Castro Lopo's avatar
      libFLAC: Fix an out-of-bounds heap read · d91eb4ae
      Erik de Castro Lopo authored
      When doing a flac to flac conversion, bad data read from the input file
      was making it all the way through the encoder to cause a read past the
      end of the buffer in the CRC calculation.
      
      Fix had two parts:
      
      * bitwriter.c: Make a debug only assert (assert bits < 32) into a proper
        failure.
      * stream_encoder.c: Catch the error condition of wasted bits being greater
        that bits_pers_sample and limit it to the bits_per_sample value.
      
      Found using the American Fuzzy Lop fuzzer.
      d91eb4ae
  3. 07 Sep, 2015 4 commits
  4. 03 Sep, 2015 2 commits
  5. 02 Sep, 2015 2 commits
  6. 31 Aug, 2015 3 commits
  7. 30 Aug, 2015 2 commits
  8. 28 Aug, 2015 1 commit
    • Erik de Castro Lopo's avatar
      libFLAC/fixed.c: Fix undefined behaviour · 1b8af6bb
      Erik de Castro Lopo authored
      Left shift if a negative integer such that the sign bit is affected is
      (according to the C spec) undefined behaviour and the residual
      calculations using the shift operator were hitting this.
      
      Fortunately these same calculations using plain multiplication do not
      invoke UB and according to benchmarking (on x86_64 linux) have the same
      performance as the bit shift version.
      1b8af6bb
  9. 26 Aug, 2015 2 commits
  10. 24 Aug, 2015 1 commit
  11. 22 Aug, 2015 6 commits
  12. 13 Aug, 2015 1 commit
  13. 09 Aug, 2015 1 commit
  14. 08 Aug, 2015 4 commits
  15. 01 Aug, 2015 2 commits
  16. 13 Jul, 2015 2 commits
  17. 10 Jul, 2015 1 commit
  18. 08 Jul, 2015 1 commit
  19. 06 Jul, 2015 2 commits
  20. 05 Jul, 2015 1 commit