Commit Graph

16 Commits

Author SHA1 Message Date
Ondřej Surý 5addf68784
[bind9] Build internal libtest and link with it as needed (#10016)
This fixes FTBFS due to missing internal (convenience) libtest library.

---------

Signed-off-by: Ondřej Surý <ondrej@sury.org>
2023-04-03 05:16:12 -07:00
Michał Kępień dcd35e272f
bind9: fix build by force-linking two symbols (#9483)
`isc__initialize()` is a libisc function that is marked with
`__attribute__((constructor))`; it works as expected when the library is
linked dynamically, but it gets stripped away in static builds prepared
by OSS-Fuzz as it is not called directly by any of the fuzzers. However,
one of the fuzzers (`fuzz/dns_message_checksig.c`) calls
`dns_view_create()`, which calls `isc_file_sanitize()`, which in turn
calls `isc_md(ISC_MD_SHA256, ...)`. The latter does not work unless
`isc__md_initialize()` is called beforehand and that function is in turn
expected to be called by `isc__initialize()`. Since the latter is absent
from OSS-Fuzz builds, the `dns_message_checksig` fuzzer crashes on every
input.

Since this is only an issue for static builds, which BIND 9 currently
does not support except for OSS-Fuzz specifically, use the `-u` linker
flag to force-link `isc__initialize()` into the fuzzer binaries. Also
force-link `isc__shutdown()` (a libisc destructor) for consistency.
2023-01-23 10:25:59 -05:00
Ondřej Surý 6e9d0defcf
bind9: Add libcap-dev as it is mandatory on Linux now (#8949)
Signed-off-by: Ondřej Surý <ondrej@sury.org>
2022-12-07 15:30:38 -05:00
Ondřej Surý 3067d305ee
[bind9]: Update the list of contacts for BIND 9 (#7370) 2022-03-09 13:08:16 +00:00
Ondřej Surý 0bf49c063e
Remove wpk, add artem,pspacek to auto_ccs (#5248) 2021-02-24 02:16:19 -08:00
Ondřej Surý 1a577209fa
[bind9] Add libnghttp2 to Dockerfile and build.sh for main branch (#5124) 2021-02-05 06:12:04 -08:00
Abhishek Arya 95a7b67504
Add main_repo for some more projects. (#4819) 2020-12-10 08:15:05 -08:00
Ondřej Surý c1f671f078
[bind9] Add missing -lssl to the build instructions (#4634) 2020-11-12 06:21:33 -08:00
Ondřej Surý aeef1e43f1
[bind9] Drop libltdl build as it was replaced by libuv in the upstream (#4602) 2020-11-05 06:19:57 -08:00
Ondřej Surý 80a651a794
[bind9] Adjust the emails, so everybody on the team has access (#4313)
change the primary contact to the BIND 9 developers group alias,
instead of security-officer
2020-08-13 09:16:12 -07:00
Ondřej Surý 6f0a24f0d5
[bind9] Re-enable AFL fuzzing engine. (#4310) 2020-08-13 07:21:38 -07:00
Oliver Chang 2e11666263
Fix typo in bind9 project.yaml 2020-08-13 10:37:02 +10:00
Max Moroz 5f1504cb10
[bind9] Add more contacts to auto_ccs (#4310). 2020-08-12 16:42:07 -07:00
Ondřej Surý 70abe8f33c
[bind9] Adjust the Dockerfile and build.sh for main branch (#4309) 2020-08-12 14:16:48 -07:00
Max Moroz 9f088e8671
[bind9] Temporarily disable AFL fuzzing engine. (#4307) 2020-08-12 13:25:50 -07:00
Ondřej Surý 697d0d2835
[bind9] Add bind9 as new proposed oss-fuzz target (#4304)
* Add bind9 as new proposed oss-fuzz target

* Add basic Dockerfile and build.sh

* Change the auto_cc addresses to @isc.org

* fix the copyright

* fix the copyright

Co-authored-by: Max Moroz <mmoroz@chromium.org>
2020-08-12 12:21:42 -07:00