Les articles publiés sur le site
-
19 novembre 2019, par NotTsunami
lib.mk: Remove incorrect u flag from ar
We work in deterministic mode by default, so timestamps are zeroed,
thus it is impossible to check timestamps and insert only newer
members. Silences the following autotools warning:
ar: `u' modifier ignored since `D' is the default (see `U')
https://sourceware.org/binutils/docs/binutils/ar-cmdline.html
-
18 novembre 2019, par NotTsunami
include: Escape number signs to suppress warnings
Doxygen sees '#' as a cross-reference, which this is not in this case. This will silence the following warning that pops up frequently when building with docs:
warning: explicit link request to 'defines' could not be resolved
The code shorthand tag was removed in include\FLAC\all.h to remain synonymous with other mentions of #define.
- [DH] include/FLAC++/export.h
- [DH] include/FLAC/all.h
- [DH] include/FLAC/export.h
-
18 novembre 2019, par Erik de Castro Lopo
libFLAC/bitreader.c: Fix shift invoking undefined behaviour
Credit: Oss-Fuzz
Issue: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=18535
Testcase: fuzzer_decoder-6573800707063808
- [DH] src/libFLAC/bitreader.c
-
18 novembre 2019, par NotTsunami
doc: Update to Doxygen 1.7.6.1
This will bring our doxyfile closer to the modern world and clean up some warnings in the doxygen output during a regular build. I believe it is pretty fair to use 1.7.6.1 given it released in 2011, with the 1.7.x branch a year prior. The current branch is 1.8, which released 2012, but I believe 1.7.6.1 is sufficient.
Updated by running doxygen -u doc/Doxygen.in with Doxygen 1.7.6.1. The only manual change was adding 'Free Lossless Audio Codec' to PROJECT_BRIEF.
-
17 novembre 2019, par Erik de Castro Lopo
oss-fuzz: Add fuzzing targets
These fuzzing targets were originally from:
https://github.com/guidovranken/flac-fuzzers.git
but having them in a separate repo was a huge pain in the neck when
working on fixing any problems found.
- [DH] .gitignore
- [DH] Makefile.am
- [DH] configure.ac
- [DH] oss-fuzz/Makefile.am
- [DH] oss-fuzz/fuzz-decoder.cc
- [DH] oss-fuzz/fuzz-encoder.cc
- [DH] oss-fuzz/fuzz-encoder.dict