mirror of
https://github.com/systemd/systemd.git
synced 2025-03-31 14:50:15 +03:00
Merge pull request #9879 from evverx/get-rid-of-workaround
oss-fuzz.sh: just install the shared library
This commit is contained in:
commit
cb63114880
@ -919,7 +919,7 @@ static int resolve_openpgp(sd_bus *bus, const char *address) {
|
||||
arg_type ?: DNS_TYPE_OPENPGPKEY, false);
|
||||
|
||||
if (IN_SET(r, -ENXIO, -ESRCH)) { /* NXDOMAIN or NODATA? */
|
||||
hashed = NULL;
|
||||
hashed = mfree(hashed);
|
||||
r = string_hashsum_sha224(address, domain - 1 - address, &hashed);
|
||||
if (r < 0)
|
||||
return log_error_errno(r, "Hashing failed: %m");
|
||||
|
@ -44,8 +44,7 @@ df=$build/dns-fuzzing
|
||||
git clone --depth 1 https://github.com/CZ-NIC/dns-fuzzing $df
|
||||
zip -jqr $OUT/fuzz-dns-packet_seed_corpus.zip $df/packet
|
||||
|
||||
# install the private shared library without executable permissions
|
||||
install -Dt $OUT/src/shared/ -m 0644 $build/src/shared/libsystemd-shared-*.so
|
||||
install -Dt $OUT/src/shared/ $build/src/shared/libsystemd-shared-*.so
|
||||
|
||||
find $build -maxdepth 1 -type f -executable -name "fuzz-*" -exec mv {} $OUT \;
|
||||
cp src/fuzz/*.options $OUT
|
||||
|
Loading…
x
Reference in New Issue
Block a user