1*a67afe4dSAndroid Build Coastguard Workerlibpng additions to oss-fuzz 2*a67afe4dSAndroid Build Coastguard Worker============================ 3*a67afe4dSAndroid Build Coastguard Worker 4*a67afe4dSAndroid Build Coastguard WorkerCopyright (c) 2024 Cosmin Truta 5*a67afe4dSAndroid Build Coastguard WorkerCopyright (c) 2017 Glenn Randers-Pehrson 6*a67afe4dSAndroid Build Coastguard Worker 7*a67afe4dSAndroid Build Coastguard WorkerThis code is released under the libpng license. 8*a67afe4dSAndroid Build Coastguard WorkerFor conditions of distribution and use, see the disclaimer 9*a67afe4dSAndroid Build Coastguard Workerand license in png.h 10*a67afe4dSAndroid Build Coastguard Worker 11*a67afe4dSAndroid Build Coastguard WorkerFiles in this directory are used by the oss-fuzz project 12*a67afe4dSAndroid Build Coastguard Worker(https://github.com/google/oss-fuzz/tree/master/projects/libpng). 13*a67afe4dSAndroid Build Coastguard Workerfor "fuzzing" libpng. 14*a67afe4dSAndroid Build Coastguard Worker 15*a67afe4dSAndroid Build Coastguard WorkerThey were licensed by Google Inc, using the BSD-like Chromium license, 16*a67afe4dSAndroid Build Coastguard Workerwhich may be found at https://cs.chromium.org/chromium/src/LICENSE, or, if 17*a67afe4dSAndroid Build Coastguard Workernoted in the source, under the Apache-2.0 license, which may 18*a67afe4dSAndroid Build Coastguard Workerbe found at http://www.apache.org/licenses/LICENSE-2.0 . 19*a67afe4dSAndroid Build Coastguard WorkerIf they have been modified, the derivatives are copyright Glenn Randers-Pehrson 20*a67afe4dSAndroid Build Coastguard Workerand are released under the same licenses as the originals. Several of 21*a67afe4dSAndroid Build Coastguard Workerthe original files (libpng_read_fuzzer.options, png.dict, project.yaml) 22*a67afe4dSAndroid Build Coastguard Workerhad no licensing information; we assumed that these were under the Chromium 23*a67afe4dSAndroid Build Coastguard Workerlicense. Any new files are released under the libpng license (see png.h). 24*a67afe4dSAndroid Build Coastguard Worker 25*a67afe4dSAndroid Build Coastguard WorkerThe files are 26*a67afe4dSAndroid Build Coastguard Worker Original 27*a67afe4dSAndroid Build Coastguard Worker Filename or derived Copyright License 28*a67afe4dSAndroid Build Coastguard Worker ========================= ========== ================ ========== 29*a67afe4dSAndroid Build Coastguard Worker Dockerfile* derived 2017, Glenn R-P Apache 2.0 30*a67afe4dSAndroid Build Coastguard Worker build.sh derived 2017, Glenn R-P Apache 2.0 31*a67afe4dSAndroid Build Coastguard Worker libpng_read_fuzzer.cc derived 2017, Glenn R-P Chromium 32*a67afe4dSAndroid Build Coastguard Worker libpng_read_fuzzer.options original 2015, Chrome Devs Chromium 33*a67afe4dSAndroid Build Coastguard Worker png.dict original 2015, Chrome Devs Chromium 34*a67afe4dSAndroid Build Coastguard Worker README.txt (this file) original 2017, Glenn R-P libpng 35*a67afe4dSAndroid Build Coastguard Worker 36*a67afe4dSAndroid Build Coastguard Worker * Dockerfile is a copy of the file used by oss-fuzz. build.sh, 37*a67afe4dSAndroid Build Coastguard Worker png.dict and libpng_read_fuzzer.* are the actual files used by oss-fuzz, 38*a67afe4dSAndroid Build Coastguard Worker which retrieves them from the libpng repository at Github. 39*a67afe4dSAndroid Build Coastguard Worker 40*a67afe4dSAndroid Build Coastguard WorkerTo do: exercise the progressive reader and the png encoder. 41