1
0
mirror of https://github.com/systemd/systemd.git synced 2024-12-22 17:35:35 +03:00
systemd/test/fuzz
Zbigniew Jędrzejewski-Szmek 5800f0fc68 basic/alloc-util: also reset the cleaned-up variable in freep()
freep() has it's own definition, so I missed it in fd421c4adc.

Again, there is a small growth, but the compiler should be able to optimize it away:
-Dbuildtype=debug:

-rwxrwxr-x 1 zbyszek zbyszek 4106816 Feb 19 12:52 build/libsystemd.so.0.30.0
-rwxrwxr-x 1 zbyszek zbyszek 7492952 Feb 19 12:52 build/src/shared/libsystemd-shared-247.so
-rwxrwxr-x 1 zbyszek zbyszek 4472624 Feb 19 12:53 build/systemd

-rwxrwxr-x 1 zbyszek zbyszek 4107056 Feb 19 13:03 build/libsystemd.so.0.30.0
-rwxrwxr-x 1 zbyszek zbyszek 7493480 Feb 19 13:03 build/src/shared/libsystemd-shared-247.so
-rwxrwxr-x 1 zbyszek zbyszek 4472760 Feb 19 13:03 build/systemd

Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=31055.
2021-02-19 15:25:16 +01:00
..
fuzz-bus-message bus-message: avoid dereferencing a NULL pointer 2020-06-22 17:09:49 +02:00
fuzz-calendarspec shared: fix integer overflow in calendarspec 2020-05-15 16:07:29 +02:00
fuzz-catalog license: LGPL-2.1+ -> LGPL-2.1-or-later 2020-11-09 13:23:58 +09:00
fuzz-dhcp6-client dhcp6: use unaligned_read_be32() 2019-09-20 08:04:15 +00:00
fuzz-dhcp-server
fuzz-dns-packet resolve: slightly optimize dns_answer_add() 2020-12-30 04:14:22 +09:00
fuzz-env-file fuzz: add env-file fuzzer 2019-03-11 14:11:28 +01:00
fuzz-fido-id-desc udev: Add id program and rule for FIDO security tokens 2019-09-07 02:23:58 +09:00
fuzz-journal-remote journal-importer: ignore invalid field at one more place 2020-12-21 12:40:44 +00:00
fuzz-journald-audit journald: check whether sscanf has changed the value corresponding to %n 2018-11-17 11:25:19 +01:00
fuzz-journald-kmsg tests: add a reproducer for a heap-buffer-overflow fixed in 937b117137 2018-11-16 08:45:16 +01:00
fuzz-journald-native-fd tests: add a fuzzer for server_process_native_file 2018-11-23 17:29:59 +01:00
fuzz-journald-stream tests: add a fuzzer for journald streams 2018-11-20 03:03:32 +01:00
fuzz-journald-syslog fuzz: unify the "fuzz-regressions" directory with the main corpus 2018-10-02 09:41:25 +02:00
fuzz-json add a test triggering https://github.com/systemd/systemd/issues/15907 2020-05-26 09:01:26 +02:00
fuzz-link-parser network,udev: move TransmitQueues=/ReceiveQueues= from .network to .link 2021-02-03 14:44:51 +09:00
fuzz-lldp tests: add an lldp fuzzer 2018-10-29 15:24:16 +00:00
fuzz-ndisc-rs fuzz: add testcase of oss-fuzz#10734 2018-11-12 02:04:35 +09:00
fuzz-netdev-parser network: macvlan - add support to configure rx queue for broadcast/multicast 2021-01-17 08:39:28 +01:00
fuzz-network-parser network: rename UseFQDN= -> UseHostname= 2021-02-18 21:47:37 +01:00
fuzz-nspawn-oci nspawn-oci: fix double free 2019-03-22 17:39:12 +01:00
fuzz-nspawn-settings fuzz: add testcase for oss-fuzz#13691 2019-03-15 23:54:30 +09:00
fuzz-systemctl-parse-argv basic/alloc-util: also reset the cleaned-up variable in freep() 2021-02-19 15:25:16 +01:00
fuzz-udev-database fuzz: add a sample for fuzz-udev-database 2019-02-26 13:28:30 +09:00
fuzz-udev-rules udev-builtin-blkid: add support for --hint offsets 2021-01-13 00:58:43 +09:00
fuzz-unit-file oom: add unit file settings for oomd avoid/omit xattrs 2021-02-12 12:45:36 -08:00
fuzz-varlink shared/varlink: add missing setting of output_buffer_allocated 2019-05-17 15:09:32 +02:00
fuzz-xdg-desktop xdg-autostart: avoid quadratic behaviour in strv parsing 2020-07-07 12:20:43 +02:00
.gitattributes
meson.build meson: fix git ls-files invocations during rebase 2021-01-09 09:22:26 +09:00