zebra: Ensure stream meets some level of stringency for fuzzing
In the fuzzing code we cut to the chase and call zserv_handle_commands
which bypasses the basic parsing correctness done in zserv_read
duplicate some of this code in the zserv_handle_commands function
so we can throw away blatantly bad packages.
Signed-off-by: Donald Sharp <email address hidden>
When executing a fuzzing target there exists a code path
where we allocate memory and then drop it immediately
because the fuzzing does not actually schedule threads of
execution.
Signed-off-by: Donald Sharp <email address hidden>