Les articles publiés sur le site
-
30 septembre 2015, par Tristan Matthews
microbench: add benchmarking code for Darwin
Signed-off-by: Erik de Castro Lopo <erikd@mega-nerd.com>
-
26 septembre 2015, par Erik de Castro Lopo
libFLAC: Fix an out-of-bounds head read
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 buffer 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
all-build 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.
- [DH] src/libFLAC/bitwriter.c
- [DH] src/libFLAC/stream_encoder.c
-
26 septembre 2015, par Erik de Castro Lopo
libFLAC: Fix an out-of-bounds heap read
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.
- [DH] src/libFLAC/bitwriter.c
- [DH] src/libFLAC/stream_encoder.c
-
9 septembre 2015, par Erik de Castro Lopo
test_streams.sh: Improve error message
- [DH] test/test_streams.sh
-
7 septembre 2015, par Erik de Castro Lopo
src/flac/encode.c: Fix undefined behaviour
Patch-from: lvqcl <lvqcl.mail@gmail.com>