commit | aa9cd06607abcc16b0bb7095faf55868fd2d7efb | [log] [tgz] |
---|---|---|
author | Oleg Oshmyan <chortos@inbox.lv> | Fri Sep 17 17:24:26 2021 +0300 |
committer | GitHub <noreply@github.com> | Fri Sep 17 15:24:26 2021 +0100 |
tree | 8e4d0b1b15262ade09b9d0c772908cf6b0caecda | |
parent | 9a9a3cea1a8406453a598abc6b9eb9dc27a67030 [diff] |
libass: release library memory on shutdown (#6469) AddressSanitizer/LeakSanitizer has begun to report partial leaks due to the library being initialized but never finalized. It's not clear why only part of the memory is reported and why this hasn't happened before now, but this is a somewhat legitimate report, so add finalization calls to release all memory. The libFuzzer API provides no shutdown cleanup hook, so use a static variable with a C++ destructor. Fixes https://github.com/google/oss-fuzz/issues/6440. Add the required copyright header while we are at it. This code appeared in https://github.com/google/oss-fuzz/pull/34 together with all the other files that do have the copyright header, and this license seems to have been already required at the time, so this should not constitute a licensing change.
Fuzz testing is a well-known technique for uncovering programming errors in software. Many of these detectable errors, like buffer overflow, can have serious security implications. Google has found thousands of security vulnerabilities and stability bugs by deploying guided in-process fuzzing of Chrome components, and we now want to share that service with the open source community.
In cooperation with the Core Infrastructure Initiative and the OpenSSF, OSS-Fuzz aims to make common open source software more secure and stable by combining modern fuzzing techniques with scalable, distributed execution.
We support the libFuzzer, AFL++, and Honggfuzz fuzzing engines in combination with Sanitizers, as well as ClusterFuzz, a distributed fuzzer execution environment and reporting tool.
Currently, OSS-Fuzz supports C/C++, Rust, Go, Python and Java/JVM code. Other languages supported by LLVM may work too. OSS-Fuzz supports fuzzing x86_64 and i386 builds.
Read our detailed documentation to learn how to use OSS-Fuzz.
As of June 2021, OSS-Fuzz has found over 30,000 bugs in 500 open source projects.