[ovs-git] [openvswitch/ovs] 33a3ee: odp-util: Add checking to prevent buffer overflow ...
GitHub
noreply at github.com
Thu Nov 15 16:36:55 UTC 2018
Branch: refs/heads/master
Home: https://github.com/openvswitch/ovs
Commit: 33a3ee6b39acd9799301ec6cc0069bc9e4b4428b
https://github.com/openvswitch/ovs/commit/33a3ee6b39acd9799301ec6cc0069bc9e4b4428b
Author: Yifeng Sun <pkusunyifeng at gmail.com>
Date: 2018-11-15 (Thu, 15 Nov 2018)
Changed paths:
M lib/odp-util.c
Log Message:
-----------
odp-util: Add checking to prevent buffer overflow when parsing push_nsh
Previously, the buffer size of 'struct ofpbuf b' is less than the
size of 'char buf[512]', this could cause memory overflow of ofpbuf
when calling ofpbuf_put_hex. This patch fixes it.
Reported-at: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=10865
Signed-off-by: Yifeng Sun <pkusunyifeng at gmail.com>
Signed-off-by: Ben Pfaff <blp at ovn.org>
**NOTE:** This service has been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/
Functionality will be removed from GitHub.com on January 31st, 2019.
More information about the git
mailing list