1. 08 Feb, 2016 2 commits
  2. 01 Feb, 2016 1 commit
  3. 23 Jan, 2016 2 commits
  4. 22 Jan, 2016 1 commit
  5. 15 Jan, 2016 1 commit
  6. 08 Jan, 2016 3 commits
  7. 04 Jan, 2016 2 commits
  8. 03 Jan, 2016 2 commits
  9. 30 Dec, 2015 1 commit
  10. 29 Dec, 2015 1 commit
    • Erik de Castro Lopo's avatar
      bitmath.h: Cleanups · cf7f1b5a
      Erik de Castro Lopo authored
      * Drop support from MSVC earlier than 2005.
      * Make types of FLAC__clz_uint32() and FLAC__clz_soft_uint32() the same.
      * Remove un-needed parens.
      * Cleanup FLAC__bitmath_ilog2_wide().
      
      Patch-from: lvqcl <lvqcl.mail@gmail.com>
      cf7f1b5a
  11. 24 Dec, 2015 2 commits
  12. 20 Dec, 2015 1 commit
  13. 13 Dec, 2015 1 commit
  14. 11 Dec, 2015 1 commit
  15. 24 Nov, 2015 1 commit
  16. 19 Nov, 2015 1 commit
  17. 18 Nov, 2015 3 commits
  18. 06 Nov, 2015 1 commit
    • Erik de Castro Lopo's avatar
      libFLAC: Fix link error · 826b64f3
      Erik de Castro Lopo authored
      The function FLAC__cpu_xgetbv_x86() is declared and defined only
      if FLAC__HAS_X86INTRIN is defined. However FLAC__cpu_info() was
      calling it even if FLAC__HAS_X86INTRIN was undefined,
      
      Patch-from: lvqcl <lvqcl.mail@gmail.com>
      826b64f3
  19. 03 Nov, 2015 1 commit
  20. 30 Oct, 2015 1 commit
  21. 13 Oct, 2015 2 commits
  22. 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
  23. 31 Aug, 2015 1 commit
  24. 30 Aug, 2015 1 commit
  25. 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
  26. 26 Aug, 2015 1 commit
    • Erik de Castro Lopo's avatar
      libFLAC/format.c: Fix undefined behaviour · a1458164
      Erik de Castro Lopo authored
      In the case where seek_table->num_points is zero, seek_table->points
      will be NULL and passing that to qsort() invokes undefined behaviour.
      
      Since seek_table->num_points is zero, the only sensible thing to do
      is to short circuit return 0.
      a1458164
  27. 24 Aug, 2015 1 commit
  28. 22 Aug, 2015 3 commits