diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2021-02-19 13:07:29 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2021-02-19 15:25:16 +0100 |
commit | 5800f0fc682baccb24ae076b3ffea0a548812486 (patch) | |
tree | 917068cb39384249f6d8fb8092196610647d5d70 /test | |
parent | 3d81e41190539553ae3b364f08ee8b167ae0f128 (diff) | |
download | systemd-5800f0fc682baccb24ae076b3ffea0a548812486.tar.gz |
basic/alloc-util: also reset the cleaned-up variable in freep()
freep() has it's own definition, so I missed it in fd421c4adc7406de02e03e2f7ceede2cc6e1d9d4.
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.
Diffstat (limited to 'test')
-rw-r--r-- | test/fuzz/fuzz-systemctl-parse-argv/oss-fuzz-31055 | bin | 0 -> 24842 bytes |
1 files changed, 0 insertions, 0 deletions
diff --git a/test/fuzz/fuzz-systemctl-parse-argv/oss-fuzz-31055 b/test/fuzz/fuzz-systemctl-parse-argv/oss-fuzz-31055 Binary files differnew file mode 100644 index 0000000000..a8f9071109 --- /dev/null +++ b/test/fuzz/fuzz-systemctl-parse-argv/oss-fuzz-31055 |