Commit Graph

19 Commits

Author SHA1 Message Date
bungeman d83e3f543d
[freetype] Remove zlib and libpng dev packages. (#4597)
The upstream build of the fuzzer currently builds freetype --without-zlib
and --without-png so these are not needed. In addition, because of the
way these dependencies are used they must be built with the sanitizer in
order to detect interesting issues like CVE-2020-15999, where FreeType
may call into libpng incorrectly but it is libpng which actually does
the reads and writes. This has been proposed upstream at
https://github.com/freetype/freetype2-testing/pull/86 which uses
prefixes to ensure that the system symbols are never used, but it would
be beneficial to not have them available at all.
2020-11-04 11:01:18 -08: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
Armin Hasitzka 79b521a629 Update the maintainer of FreeType's `Dockerfile` (#1711)
- Set myself as the maintainer since I will spend most time 
  with FreeType's fuzzers in near future.
2018-08-13 10:44:55 -07:00
Armin Hasitzka f99f761456 [FreeType2] Remove `libarchive-dev'. (#1643) 2018-07-23 06:51:30 -07:00
Armin Hasitzka 17fdbc4aed [FreeType2] Add `pkg-config'. (#1641) 2018-07-23 09:54:06 +10:00
Armin Hasitzka 84a17eaf64 Add libraries to the FreeType2 machine for future use: (#1639)
- libpng-dev
- zlib1g-dev
2018-07-22 11:12:30 -07:00
Armin Hasitzka cf9860b876 Change FreeType's source repository: (#1634)
- Use `freetype/*' instead of `cherusker/*'.
- Don't copy `*.options' files; they do not exist anymore.
2018-07-19 11:06:57 -07:00
Armin Hasitzka bca1735143 [Freetype] Update build process: (#1614)
- Build the known target `ftfuzzer' with FreeType's new, dedicated testing repository.
- Move most of the build logic regarding the fuzz targets to FreeType's repository.
2018-07-13 12:12:52 -07:00
Armin Hasitzka f9b50eac43 Update FreeType's Dockerfile (#1463)
- add former erroneous inputs to the seed corpus
2018-05-30 16:07:45 -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
Kostya Serebryany 4a93f93813 add more seeds for freetype2 (#288) 2017-01-17 16:40:26 -08:00
Mike Aizatsky e6a8c4d6cd [infra] updating usages of base-libfuzzer (#142) 2017-01-03 15:07:49 -08:00
Mike Aizatsky 9d98005257 copying options file 2016-12-28 14:09:39 -08:00
Mike Aizatsky 0952c4aa6e [freetype2] move less frequently changed files up 2016-12-28 14:01:23 -08:00
Kostya Serebryany a74e294fca [freetype2] add ots seed file for the freetype2 fuzzer (#217) 2016-12-27 11:42:52 -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