Commit Graph

17 Commits

Author SHA1 Message Date
DRC 5cc77a3fde
[libjpeg-turbo] Fuzz multiple code branches (#7528)
libjpeg-turbo uses a stable mainline branch model, so the main branch is
always stable and feeds into the current release series.  The next-gen
evolving release series is developed in the dev branch, and bug fixes
are cherry-picked into stable branches for past release series.

It is desirable to fuzz the dev branch to ensure that bugs are caught
before the evolving code is merged down into main (which generally
occurs in conjunction with a beta release) and also to allow for the
fuzzers themselves to evolve along with the libjpeg-turbo feature set.
It is also desirable to fuzz the stable branch from the most recent
release series (2.0.x at the moment) to ensure that the same quality is
maintained from when that code occupied the main branch.

Note that both the Dockerfile and multi-branch build script included in
this commit accommodate the fact that the dev branch may not exist.  The
dev branch will not exist between the time that the current release
series enters beta and the first feature for the next-gen release series
is developed.

Closes #7479
2022-04-08 11:25:53 -04:00
DRC 177eaca920
[libjpeg-turbo] Remove unneeded pkg in Dockerfile (#5574)
Installing the i386 libstdc++ SDK was part of a failed effort to fix the
i386 fuzz targets.  They have been fixed in a different way.
2021-04-02 14:21:37 -07:00
DRC da812b19f2
[libjpeg-turbo] Use new fuzzers in project repo (#5537)
- Eliminate unnecessary packages from Docker image (Autotools has not
  been required since libjpeg-turbo 1.5.x.)

- Obtain seed corpora from a new Git repository maintained by The
  libjpeg-turbo Project.  (This new repo contains the old corpora from
  https://lcamtuf.coredump.cx, with duplicates removed, and some new
  corpora curated from historical libjpeg-turbo bug reports.)

- Remove build.sh.  (The libjpeg-turbo Project is now maintaining its
  own build script in order to facilitate the future creation of new
  fuzz targets.)

- Remove fuzz target source code.  (The libjpeg-turbo Project is now
  maintaining its own fuzz targets with better code coverage.)

- Update the project home page in project.yaml.

- Change the project language to C in project.yaml.  (The new fuzz
  targets are written in pure C rather than C++, since libjpeg-turbo is
  a C-only project.)
2021-04-02 11:14:06 -07:00
DRC 0c95cf2c94
[libjpeg-turbo] Fix build with libjpeg-turbo 2.1.x (#5519)
libjpeg-turbo 2.1 now requires NASM 2.13 or later or YASM 1.2.0 or
later.  Since the Docker image is based on Ubuntu 16.04, NASM 2.13 isn't
available, so the easiest workaround is to use YASM instead.

Fixes #4931
2021-03-26 16:44:40 -07:00
devtty1er d561c49ae5
Update Dockerfiles (#4070)
* Use LABEL in place of MAINTAINER

* Remove LABEL maintainer from Dockerfiles
2020-07-06 13:18:23 -07:00
Lovell Fuller 3c28d2a860
Upgrade lcamtuf.coredump.cx to HTTPS, as it has been (#3527)
accepting only HTTPS connections since approx 14th March.

This allows the builds for guetzli, libjpeg-turbo,
libtiff and libvips to succeed again.
2020-03-20 07:50:16 -07:00
Paul Kehrer 6ecb20612a fix libjpeg-turbo build (#1269) 2018-03-25 21:13:03 -07:00
Devin Jeanpierre 330386686d Use apt-get update && apt-get install, per best practices: (#561)
https://docs.docker.com/engine/userguide/eng-image/dockerfile_best-practices/

I ran into this because I was getting errors locally, like:

    E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/d/dpkg/libdpkg-perl_1.18.4ubuntu1.1_all.deb  404  Not Found [IP: 91.189.88.149 80]

It turns out you get these if you don't update, and the official best practices are to `run apt-get update && apt-get install`. In fact, running _any_ apt-get install command without the apt-get update && before it can result in unfortunate caching artifacts -- see "cache busting". (P.S. thanks to Peng on Freenode for helping me, I'm bad at Ubuntu.)

So:
    sed -re \
        's/RUN apt-get ((-y )?(install|build-dep))/RUN apt-get update \&\& apt-get \1/' -i \
        projects/**/Dockerfile

I also manually fixed the cases that already ran apt-get update in their Dockerfile:
    dlplibs/Dockerfile
    grpc/Dockerfile
    libreoffice/Dockerfile
2017-05-01 23:31:02 -07:00
Oliver Chang 60835ac420 oss-fuzz/BASE_IMAGE -> oss-fuzz-base/BASE_IMAGE 2017-03-22 12:12:51 -07:00
Oliver Chang 7df64d4ac4 [infra] ossfuzz/IMAGE -> gcr.io/oss-fuzz/IMAGE 2017-03-15 18:46:31 -07:00
Mike Aizatsky e6a8c4d6cd [infra] updating usages of base-libfuzzer (#142) 2017-01-03 15:07:49 -08:00
Alex Gaynor f7babe24ff [libjpeg-turbo] small simplification to dockerfile (#226) 2016-12-28 15:55:21 -08:00
Abhishek Arya 453c5709c8 Update Dockerfile 2016-12-24 07:39:26 -08:00
Abhishek Arya 7176de02b3 Add test corpus from libjpeg-turbo repo 2016-12-24 07:37:23 -08:00
Alex Gaynor 346e9700b3 Expand the corpus used by the libjpeg-turbo fuzzer (#104) 2016-11-29 20:06:51 -08:00
Mike Aizatsky cf248c4759 [infra] making shallow git clones. fixes #42 2016-11-29 12:55:45 -08:00
Mike Aizatsky a143b9b39a [infra] renaming targets/ to projects/ 2016-11-29 10:55:25 -08:00