1
0
mirror of https://github.com/systemd/systemd.git synced 2024-12-23 21:35:11 +03:00
systemd/test/fuzz-regressions/fuzz-unit-file
Zbigniew Jędrzejewski-Szmek e2093454a2 shared/specifier: be less extravagant with memory allocations
ubsan times out because we do too many allocations:

$ valgrind build/fuzz-unit-file test/fuzz-regressions/fuzz-unit-file/oss-fuzz-6977-full
...
test/fuzz-regressions/fuzz-unit-file/oss-fuzz-6977-full... ok
==1757==
==1757== HEAP SUMMARY:
==1757==     in use at exit: 0 bytes in 0 blocks
==1757==   total heap usage: 199,997 allocs, 199,997 frees, 90,045,318,585 bytes allocated

...
==3256==   total heap usage: 100,120 allocs, 100,120 frees, 13,097,140 bytes allocated

https://oss-fuzz.com/v2/issue/4651449704251392/6977 should now be really fixed.

e3c3d6761b was the first attempt, but even with this change, e3c3d6761b
still makes sense.
2018-03-28 10:38:45 +02:00
..
oss-fuzz-6884 fuzz: commit test case for oss-fuzz issue 6884 2018-03-14 15:20:02 +01:00
oss-fuzz-6885 shared/conf-parser: fix crash when specifiers cannot be resolved in config_parse_device_allow() 2018-03-14 16:50:08 +01:00
oss-fuzz-6886 basic/calendarspec: fix assert crash when year is too large in calendarspec_from_time_t() 2018-03-14 16:50:09 +01:00
oss-fuzz-6892 core/service: fix memleak of USBFunctionStrings and USBFunctionDescriptors 2018-03-17 09:01:53 +01:00
oss-fuzz-6897 fuzz: add test case for oss-fuzz #6897 and a work-around 2018-03-17 09:48:22 +01:00
oss-fuzz-6897-evverx fuzz: add test case for oss-fuzz #6897 and a work-around 2018-03-17 09:48:22 +01:00
oss-fuzz-6908 unit-file: do not allow bogus IOSchedulingClass values 2018-03-17 09:01:53 +01:00
oss-fuzz-6917 basic/calendarspec: set a limit on length of calendarspec component chains 2018-03-17 08:59:25 +01:00
oss-fuzz-6977 core/load-fragment: reject overly long paths early 2018-03-21 00:46:13 +01:00
oss-fuzz-6977-unminimized shared/specifier: be less extravagant with memory allocations 2018-03-28 10:38:45 +02:00
oss-fuzz-7004 basic/calendarspec: add check for repeat values that would overflow 2018-03-21 00:46:13 +01:00