Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ofpbuf: Fix arithmetic error in ofpbuf_insert().
memmove byte count was calculated incorrectly as ofpbuf_put_uninit is increasing b->size by n. This patch fixes it by reducing byte count by n. Reported-at: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=12296 Signed-off-by: Toms Atteka <cpp.code.lv@gmail.com> Signed-off-by: Ben Pfaff <blp@ovn.org>
- Loading branch information