Commit Graph

24 Commits

Author SHA1 Message Date
Martijn van Beurden d1ef8d0435
[flac] Intermediate step towards OOM fuzzing (#8302)
This is an intermediate step towards fuzzing of out-of-memory
conditions, which will be accomplished by making the Nth malloc/
calloc/realloc fail. With this intermediate step, hopefully no
oss-fuzz build failures will occur
2022-08-19 12:42:51 +01:00
Martijn van Beurden 828f5cef07
[flac] Disable _FORTIFY_SOURCE for all sanitizers (#7997) 2022-07-12 10:12:43 +01:00
Guido Vranken d0f3e654a4
[flac] Remove myself from project (#7983) 2022-07-09 14:39:54 +01:00
Martijn van Beurden 402f3a1fb1
[flac] Add fuzzer_metadata (#7975)
Add fuzzer_metadata
2022-07-08 10:34:33 +10:00
Martijn van Beurden f05372d358
[flac] Add fuzzer_seek (#7863) 2022-06-15 09:33:29 +01:00
Martijn van Beurden a563e10d6c
Fix addition of define (#7738)
In PR #7687 I tried to add a define by adding it to CFLAGS, but that
didn't work without rerunning configure. By adding the define to
config.h, rerunning configure is not necessary
2022-05-23 12:01:28 +01:00
Martijn van Beurden afdf1caa5d
flac: only disable signed integer sanitizing on decoder fuzzers (#7687)
oss-fuzz has reported numerous signed integer overflow problems
in flac that cannot be reasonably fixed. The problem is that
flac uses some math that is numerically unstable when fed with
random data, and as these are only audio samples, this overflow
is not a problem. Therefore, I added
`__attribute__((no_sanitize("signed-integer-overflow")))` to a few
functions in the flac sources.

However, while a decoder fed with random data has this problem,
an decoder that is being used to verify an encoder fed with random
data should never overflow. As the same functions are used, the
flac sources should be compiled twice: once with the mentioned
attributes for the decoder fuzzers, and once without them for the
encoder fuzzers.

Note that the define passed in this code is not yet integrated in
libflac, but this change should happen first or else the old
bugs appear again
2022-05-09 16:39:59 -04:00
Martijn van Beurden 9b1534c4f7
flac: Add second (more thorough) encoder fuzzer (#7647) 2022-05-01 23:47:36 +01:00
Martijn van Beurden 249aab987b
Move fuzzer sources from guidovranken/flac-fuzzers to xiph/flac (#7624) 2022-04-25 21:15:36 +01:00
Martijn van Beurden 0df5e7b233
[flac] Disable CRC checks in ogg container (#7310) 2022-02-21 16:04:30 +00:00
Martijn van Beurden 2436e38a72
Fix infinite loop in fuzzer_exo (#7265)
readBuffer returns -1 in return type size_t, which wraps. Because
of that, the comparison was not triggering when it should

Credit: Oss-Fuzz
Issue: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=24002
2022-02-11 19:08:42 +00:00
Martijn van Beurden 1e9526b9af
Add CC to flac (#7254)
Erik de Castro Lopo is no longer actively involved in maintaining the libFLAC project. I'd like access to the not-yet-public bug reports and the details so we can get a new release out.
2022-02-10 10:47:56 +00:00
jonathanmetzman 03d18372d5
Reland [Ubuntu upgrade] Fix projects so they don't break with upgrade (#6313)
This reverts commit 878c32419c.

Related: #6180
2021-08-26 09:53:49 -07:00
Oliver Chang 878c32419c
Revert "[Ubuntu upgrade] Fix projects so they don't break with upgrade. (#6304)" (#6306)
This reverts commit 5549d804b3.
2021-08-26 15:42:34 +10:00
jonathanmetzman 5549d804b3
[Ubuntu upgrade] Fix projects so they don't break with upgrade. (#6304)
Fix projects so they don't break with upgrade.
These fixes are likely not backwards compatible and will fail on
Ubuntu 16.04.
Related: #6180
2021-08-25 22:14:52 -07:00
Oliver Chang 84faf55729
Populate a bunch of main_repo values. (#4815)
Also enforce this for future integrations.
2020-12-10 09:49:27 +11:00
Max Moroz ee749eed2f
[flac] Ignore coverage for JNI headers (fixes #4490). (#4496) 2020-09-28 12:38:34 -07:00
Ravi Jotwani 930720f048
[flac] Additional fuzzer (#4073)
* added draco integration files

* wrote build file and Dockerfile for Draco

* added new fuzzer, build failing

* fuzzer_exo build working
2020-07-07 13:24:02 -07:00
Max Moroz 71f4914c45
[presubmit] Enforce language attribute in project.yaml to be always set. (#3477)
* [presubmit] Enforce language attribute in projectt.yaml to be always set.

* Update documentation, better presubmit check, new project template.

* add docstring to templates.py

* Add example values in the project.yaml template and remove python value for now

* Add "project: c++" to 256 projects

* format

* Add labels and selective_unpack sections to the presubmit check

* fix incorrect auto_ccs format in three projects

* fix nss emails after rebase
2020-03-10 11:08:01 -07:00
Sylvestre Ledru c9e50868e9
Some Mozilla changes (#3481)
* Refresh the list to have a Mozilla employee with an active account

* Update of the list of nss participants
2020-03-09 08:34:02 -07:00
Christoph Diehl 7ed3f375b6 Add Mozilla fuzzing team to auto_cc of their used 3rd party libraries (#2703)
* Add Mozilla fuzzing team to auto_cc of their used 3rd party libraries

* Use new vendor_ccs field in projects.yml (#2703)

* Remove not yet approved projects

* Remove not yet approved projects
2019-08-28 09:16:53 -07:00
Guido Vranken 2cb6fe0085 [FLAC] Fix coverage builds (#2719) 2019-08-18 07:57:03 -07:00
Guido Vranken c3348366ef [FLAC] Encoder fuzzer (#2707) 2019-08-16 06:59:54 -07:00
Guido Vranken 580035c3b0 [FLAC] Add project (#2695) 2019-08-15 10:49:27 -07:00