Les articles publiés sur le site
-
22 août 2015, par Erik de Castro Lopo
libFLAC/stream_decoder: Fix double free
The american-fuzzy-lop fuzzer found a couple of instances of double
free() resulting from commit 15a9062609.
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().
- [DH] src/libFLAC/stream_decoder.c
-
13 août 2015, par Ben Boeckel
metaflac: add --scan-replay-gain option
Signed-off-by: Erik de Castro Lopo <erikd@mega-nerd.com>
- [DH] doc/html/documentation_tools_metaflac.html
- [DH] man/metaflac.1
- [DH] man/metaflac.sgml
- [DH] src/metaflac/operations.c
- [DH] src/metaflac/options.c
- [DH] src/metaflac/options.h
- [DH] src/metaflac/usage.c
- [DH] test/test_metaflac.sh
- [DH] test/test_replaygain.sh
-
9 août 2015, par Erik de Castro Lopo
libFLAC: Fix potential meory leaks
If the `realloc` function failed, memory would leak.
Patch-from: lvqcl <lvqcl.mail@gmail.com>
- [DH] src/libFLAC/format.c
- [DH] src/libFLAC/metadata_object.c
- [DH] src/libFLAC/stream_decoder.c
-
9 août 2015, par Erik de Castro Lopo
decoder: Treat negative qlp_shift as an error
Shift by a negative value is undefined behaviour so there is no "right"
way of dealing with this.
Patch-from: lvqcl <lvqcl.mail@gmail.com>
- [DH] src/libFLAC/stream_decoder.c
-
9 août 2015, par Erik de Castro Lopo
Windows: Ensure FreeLibrary() calls match LoadLibrary() calls
The function get_utf8_argv() was calling LoadLibrary to load msvcrt.dll
but wasn't calling FreeLibrary() if GetProcAddress() fails.
Patch-from: lvqcl <lvqcl.mail@gmail.com>
- [DH] src/share/win_utf8_io/win_utf8_io.c