fuzz-unit-file: adjust check for ListenNetlink yet again
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Sun, 25 Mar 2018 20:11:44 +0000 (22:11 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Mon, 26 Mar 2018 08:42:19 +0000 (10:42 +0200)
commit483ed8a6a00a00fbd7ef76e304ee265131207ce8
tree661a5cd2f7003ec8acf667efe644d193f3b33110
parent1238250f1dca07b8fcef4d7ebe86891334819e9e
fuzz-unit-file: adjust check for ListenNetlink yet again

The test for ListenNetlink would abort the loop if a line longer then LINE_MAX
was encountered (read_line() returns -ENOBUFS in that case). Let's use the
the line length limit that the unit file parses uses.

https://oss-fuzz.com/v2/issue/5546208027213824/7094.
src/fuzz/fuzz-unit-file.c