]> git.puffer.fish Git - matthieu/frr.git/commit
zebra: Ensure stream meets some level of stringency for fuzzing
authorDonald Sharp <sharpd@nvidia.com>
Wed, 4 Aug 2021 14:55:39 +0000 (10:55 -0400)
committerQuentin Young <qlyoung@nvidia.com>
Mon, 15 Nov 2021 22:12:33 +0000 (17:12 -0500)
commit3a594fde486abf79f9eff66e8b98189b57a89f3a
tree66b399365195143ba214548d7d4af32a893c15af
parent591b95644bd44976fd7cc354cb063fe1f3245784
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 <sharpd@nvidia.com>
zebra/zapi_msg.c