Please sign in to comment.
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
lib: added check to prevent int overflow
If enough large input is given ofpact_finish will fail. Implemented ofpbuf_oversized function to check for oversized buffer. Checks were added for parse functions and error messages returned. Basic manual testing performed. Reviewed-by: Yifeng Sun <firstname.lastname@example.org> Reported-by: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=12972 Signed-off-by: Toms Atteka <email@example.com> Signed-off-by: Ben Pfaff <firstname.lastname@example.org>
- Loading branch information
Showing with 45 additions and 0 deletions.