Commit Graph

7355 Commits

Author SHA1 Message Date
matclab a0adeda9e1
Fix S2OPC build (#7935)
* s2opc: fix mbedtls download link

* s2opc: update mbedtls build commands

* s2opc: use newer version of mbedtls

* s2opc: add expat to build pubsub fuzzers

* s2opc: update libcheck build

* s2opc: use find to build the corpora

* s2opc: fix error-warning about MBEDTLS_AESNI_C causing spurious error reports with some memory sanitizers

Co-authored-by: Pierre-Antoine <brameret@systerel.fr>
2022-07-01 22:29:32 +01:00
Catena cyber 3a99b6403b
gonids: fix off by one in git bisect logic (#7932)
because sed -n 0p does not work
2022-07-01 11:59:13 +02:00
psy adad4c2dbe
spring-framework: Fix build failure (#7934)
Fix build failure
2022-07-01 11:58:51 +02:00
Frédéric Wang 7bcd9edc36
Add fwang@igalia.com to HarfBuzz (#7931)
Closes 7919

I need it to check OpenType MATH fuzz stats e.g.
https://github.com/harfbuzz/harfbuzz/issues/3688
2022-07-01 15:12:50 +10:00
Adrian Taylor 36a6c45c52
Submit itoa and ryu. (#7928)
* Submit itoa and ryu.

These two libraries are used by serde_json which, in turn, is used as the
standard JSON parser in various higher level projects. Both itoa and ryu
contain unsafe code, which this fuzzes.

* Update project.yaml

* Update project.yaml

* Update Dockerfile

* Update Dockerfile

* Rejigging ryu/itoa Dockerfiles.

Previously I was following the example of image-png, but that appears not to be
the modern standard. Now following the example of zip-rs instead.

* Fix Dockerfile error

* Further Dockerfile fix.

Co-authored-by: jonathanmetzman <31354670+jonathanmetzman@users.noreply.github.com>
2022-07-01 01:38:42 +00:00
Arthur Chan 454a645eed
python ftfy: initial integration (#7920)
- Create initial integration
- Add fuzzer for fixing function
- Add fuzzer for formatting function
2022-07-01 11:34:35 +10:00
Bernd Edlinger 50ae970c9a
openssl: Don't find sh scripts in fuzz directory (#7925)
As part of https://github.com/openssl/openssl/pull/18355 "Add Reproducible Error Injection"
I want to add an executable testrun.sh script to the fuzz directory.
Ideally I would like to set the executable bit on that file,
but unfortunately this confuses the CIFuzz build.

This excludes *.sh from the find command in build.sh
2022-06-30 19:20:45 +02:00
psy 99f411f3dc
spring-boot: fix build failure (#7930)
Fix jdk17
2022-06-30 13:40:50 +01:00
DavidKorczynski cf816c3244
infra: fix per-target coverage html generation (#7927)
* infra: fix per-target coverage html generation

When generating coverage reports for single targets we should not
include all fuzz targets (in the $objects var), but only the object
(binary file) for the given target.

Ref: https://github.com/ossf/fuzz-introspector/issues/340

* coverage: remove potential race condition
2022-06-30 18:06:42 +10:00
Oliver Chang a2eaeebecb
execSan: Return same exit status as the child. (#7924)
* execSan: Return same exit status as the child.

* format
2022-06-29 02:05:17 +00:00
DavidKorczynski d24a351bc8
rocksdb: build with c++17 (#7922)
Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=48489
2022-06-28 23:18:02 +01:00
DavidKorczynski f40452d714
py-bigquery: initial integration (#7744)
* py-bigquery: initial integration

* rename project for the reasons described here https://github.com/google/oss-fuzz/pull/7900

* update pip and install grpcio in dockerfile
2022-06-28 20:22:02 +01:00
DavidKorczynski 1ae8bf7ee4
ghostscript: add target for new devices (#7912)
* ghostscript: add target for new devices

Adds ability to target various devices and a fuzzer that targets
pdfwrite and pxlmono devices. The primary device of interest here is
likely pdfwrite as it's more widely used as far as I know.

* fix review 1

* fix review 2

* nit

* nit
2022-06-28 14:44:17 +02:00
Kevin Backhouse 88d62b47bf
Prevent the VALUEs in args from getting garbage collected too early (#7916)
Prevent the VALUEs in args from getting garbage collected too early.
2022-06-28 14:43:51 +02:00
Ari Rubinstein f78fb0a7e1
fix: XS coverage builds, and add dictionaries and corpus seeds (#7917) 2022-06-28 13:15:15 +01:00
Konrad Sztyber c39384b112
spdk: upgrade pip (#7915)
For some reason, there's a local python3 installation on the
oss-fuzz-base image with a pretty old pip version, 19.2.3, which doesn't
have up-to-date wheel platform tags, so, when installing SPDK
dependencies, it tries to compile them instead of using the wheels. The
compilation fails on the grpcio package for some reason.

So, to resolve this, upgrade the local pip version when building the
SPDK image, so that it's able to fetch the pre-compiled packages.  This
is a workaround for #7914.
2022-06-28 13:10:57 +01:00
Arthur Chan e7af68a230
openpyxl: Initial integration (#7772)
* openpyxl: Initial integration
Build initial fuzzer

* Fix fuzzer

* Fix fuzzer

* Fix fuzzer

* Fix fuzzer comments

* Create new fuzzers
- fuzz_basic.py - Basic workbook fuzzer
- fuzz_load.py - File loading fuzzer
- fuzz_chart.py - Chart fuzzer
- fuzz_comment.py - Sheet comments fuzzer
- fuzz_formulae.py - Formulae parsing fuzzer
- fuzz_sort.py - Data sort and filter fuzzer
- fuzz_sheet.py - Worksheet management fuzzer
- fuzz_cellutil.py - Cell utils fuzzer

* Fix project contact
2022-06-28 01:17:07 +01:00
Arthur Chan 65bc9c9cea
sqlalchemy_jsonfield: initial integration (#7846)
* sqlalchemy_jsonfield: initial integration
prepare initial fuzzer

* Fix fuzzer

* Fix fuzzer
2022-06-28 01:16:45 +01:00
psy a2e176a238
jackon-modules-java8: initial integration (#7913)
Initial integration
2022-06-28 09:00:16 +10:00
DavidKorczynski 7c457cc481
sqlalchemy-utils: update primary contact email (#7918)
switch to gmail. From internal discussions with primary contact
2022-06-27 20:20:47 +01:00
psy 3d10fef661
spring-cloud-commons: initial integration (#7838)
* Initial integration

Fix java_home, resolve jdk symlink, remove import name temporary fix

Add random salt, add pem dict & fix instrumentation path

* Fix path & use rsync instead of cp
2022-06-27 05:38:10 +10:00
Ari Rubinstein 45023e3a63
XS: implement xst_jsonparse target, and wrap fuzzing binaries (#7910)
XS: implement json_parse target, and wrap fuzzing binaries with a wrapper binary to ignore leaks
2022-06-24 19:38:05 -04:00
Kevin Backhouse d1e407f0f3
Use /proc/self/exe to deduce the correct path. (#7908) 2022-06-23 09:40:34 -04:00
DavidKorczynski ccd918bb59
ghostscript: add targeted ps fuzzer (#7893)
* ghostscript: add targeted ps fuzzer

- Adds a new fuzzer that avoids PDF files
- Adds a dictionary with Postscript commands
2022-06-23 01:49:42 +01:00
MacroFake 04d1a42962
bitcoin-core: Update my email (primary_contact) (#7901) 2022-06-22 14:09:12 -04:00
DavidKorczynski 7aa82f920a
rocksdb: fix build (#7905)
Fixes: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=47110
2022-06-22 16:45:31 +01:00
Arthur Chan 0a577f2624
pyca-cryptography: Add more fuzzer (#7890)
* Add more fuzzer
Fix build script

* Fix formatting for fuzzers
Fix length checking for nonce in fuzz_aead

* Fix fuzzer
- Add more randomization to data input
2022-06-22 13:25:03 +01:00
Kevin Backhouse 713eb55c66
Use $ORIGIN in the rpath linker argument (#7904)
Use $ORIGIN in the rpath linker argument.
2022-06-22 13:20:43 +01:00
Oliver Chang 2b6572ecc5
Rename google-py-crc32 (#7900)
Having "google" in the name breaks things because we can't
create GCS buckets with that string in it.
2022-06-21 15:15:08 -05:00
Arthur Chan f4bec8cd49
sqlalchemy-utils: initial integration (#7852)
* sqlalchemy-utils: initial integration
create basic fuzzer

* Add new fuzzer

* Add new fuzzer

* fuzz_db: slight refactoring imports

* fuzz_type: slight refactoring imports and adding comment

* project.yaml: add primary contact

Ref: https://github.com/kvesteri/sqlalchemy-utils/issues/615#issuecomment-1159740608

Co-authored-by: DavidKorczynski <david@adalogics.com>
2022-06-21 20:34:18 +01:00
Tyson Smith 189d30dbe5
Add additional Mozilla contacts (#7899)
* [cryptofuzz] Add additional Mozilla contacts to CC list

* [NSS] Add additional Mozilla contacts to CC list

* [NSS] Add main_repo to project.yaml
2022-06-21 14:16:16 -05:00
Reed Loden da02c29e94
teleport: Update to go1.18 native fuzzing (#7895)
* Swap from `compile_go_fuzzer` to `compile_native_go_fuzzer`
* Move building to an internal script `fuzz/oss-fuzz-build.sh` to ease addition of new fuzzing methods
* Update `auto_ccs`
2022-06-20 22:31:10 -05:00
code-terror 97588368dd
add cloud-hypervisor (#7885)
* add cloud-hypervisor

* adding dockerfile and build.sh

* fix issue

* add copyright

* fix year in copyright

* optimise
2022-06-20 15:16:55 -05:00
Daniel Novomeský 685dde8dc4
kimageformats: upgrade libaom and libavif (#7896) 2022-06-19 22:03:34 +01:00
DavidKorczynski 0eaf9d940e
dovecot: fix build (#7891)
Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=48089

The error happened due to: 6b0b7141a8
2022-06-18 00:19:21 +01:00
huili2 3ad6236b0f
fix openh264 folder rename issue (#7830)
* fix openh264 folder rename issue
2022-06-17 22:15:16 +01:00
DavidKorczynski 0a3b8f0cb4
ghostscript: extend fuzzing (#7821)
* ghostscript: extend fuzzing

- Add two new fuzzers
- One new fuzzer that explore multiple colorings
- One new fuzzer that focuses on PDF exploration
- Add dictionary to PDF fuzzer
- Add small sized PDF seed to PDF fuzzer
- Ensure max_len on multiple coloring fuzzing

* Add myself to auto_ccs

* Fix typo

* set indentation

* add options file

* Address review: split fuzzers and have dict + seed locally

* nit

* clarify prepending of single byte

* fix styling

* clarify comments in all_colors fuzzer

* Addess final review
2022-06-17 22:14:14 +01:00
AdamKorcz 345072e521
grpc-gateway: refactor (#7888) 2022-06-17 16:22:05 +01:00
AdamKorcz 957f547299
grpc-go: refactor build (#7887) 2022-06-17 15:13:39 +01:00
AdamKorcz e9570a3adb
golang-protobuf: refactor build (#7886) 2022-06-17 15:13:19 +01:00
Navidem 0fce77ee5f
Bump fuzz introspector (#7881) 2022-06-17 00:49:21 -05:00
AdamKorcz d40441850f
kubernetes: refactor Dockerfile (#7880) 2022-06-16 19:15:08 +01:00
Pat 3ce6a58169
fluent-bit: update to disable YAML support (#7879)
* fluent-bit: disable YAML support

Signed-off-by: Patrick Stephens <pat@calyptia.com>
2022-06-16 17:34:19 +00:00
Guido Vranken f3a752435d
[python3-libraries] Add dictionary for AST fuzzer (#7877) 2022-06-16 13:04:28 +01:00
Alan Modra 4b60b6fd06
Don't leak in binutils test infrastructure (#7874)
Using bfd_check_format_matches requires that a returned matching
vector (when return is false and bfd_get_error() is
bfd_error_file_ambiguously_recognized) be freed.  Use bfd_check_format
instead.
2022-06-16 13:03:53 +01:00
Catena cyber d288c9ae86
gonids: recompile go to hunt bug (#7876)
cf https://github.com/golang/go/issues/49075

Try to git bisect this unreproducible bug
2022-06-16 09:57:54 +01:00
vargen cb8a8f0f65
[bc-java] initial commit (#7834) 2022-06-16 13:55:21 +10:00
CheeseHunter117 4b851f1e22
apache-commons-configuration: initial integration (#7847)
* Added fuzz targets for apache-commons-configuration

* Make recommended changes

* Further requested changes made
2022-06-16 13:54:46 +10:00
Navidem 8988e2b8d8
Set PROJECT_NAME env and update download_corpora_step() (#7873) 2022-06-16 02:19:08 +00:00
Navidem 3ad57541c1
Install gdb 12 from source (#7842)
* Install gdb12 from source

* nit: remove tar file

* nit

* Separate GDB installation and purge libs

* Pass -y to purge

* use remove --purge
2022-06-15 11:09:02 -05:00