[libpng16] Added a copy of Dockerfile to the contrib/oss-fuzz directory

This commit is contained in:
Glenn Randers-Pehrson 2017-09-08 08:18:34 -05:00
parent 4e9839d453
commit 051dcaf877
2 changed files with 29 additions and 4 deletions

View File

@ -0,0 +1,24 @@
# Copyright 2016 Google Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
################################################################################
FROM gcr.io/oss-fuzz-base/base-builder
MAINTAINER glennrp@gmail.com
RUN apt-get update && apt-get install -y make autoconf automake libtool zlib1g-dev
RUN git clone --depth 1 https://github.com/glennrp/libpng.git
RUN (cd libpng; git log | head -1)
WORKDIR libpng
COPY build.sh $SRC/

View File

@ -1,4 +1,4 @@
Last changed in libpng 1.6.32 [August 24, 2017] Last changed in libpng 1.6.33 [(PENDING RELEASE)]
Copyright (c) 2017 Glenn Randers-Pehrson Copyright (c) 2017 Glenn Randers-Pehrson
This code is released under the libpng license. This code is released under the libpng license.
@ -23,14 +23,15 @@ The files are
Original Original
Filename or derived Copyright License Filename or derived Copyright License
========================= ========== ================ ========== ========================= ========== ================ ==========
Dockerfile* derived 2017, Glenn R-P Apache 2.0
build.sh* derived 2017, Glenn R-P Apache 2.0 build.sh* derived 2017, Glenn R-P Apache 2.0
libpng_read_fuzzer.cc derived 2017, Glenn R-P Chromium libpng_read_fuzzer.cc derived 2017, Glenn R-P Chromium
libpng_read_fuzzer.options original 2015, Chrome Devs Chromium libpng_read_fuzzer.options original 2015, Chrome Devs Chromium
png.dict original 2015, Chrome Devs Chromium png.dict original 2015, Chrome Devs Chromium
README.txt (this file) original 2017, Glenn R-P libpng README.txt (this file) original 2017, Glenn R-P libpng
* build.sh is a copy of the file used by oss-fuzz. png.dict and * Dockerfile and build.sh are copies of the files used by oss-fuzz.
libpng_read_fuzzer.* are the actual files used by oss-fuzz, which png.dict and libpng_read_fuzzer.* are the actual files used by oss-fuzz,
retrieves them from the libpng repository at Github. which retrieves them from the libpng repository at Github.
To do: exercise the progressive reader and the png encoder. To do: exercise the progressive reader and the png encoder.