[ovs-git] [openvswitch/ovs] 75cbba: netlink: Avoid passing NULL pointer to memcpy(), e...
GitHub
noreply at github.com
Sun Jul 3 04:21:16 UTC 2016
Branch: refs/heads/master
Home: https://github.com/openvswitch/ovs
Commit: 75cbba3d6bd3868031fbb0e44ac9badc666b5044
https://github.com/openvswitch/ovs/commit/75cbba3d6bd3868031fbb0e44ac9badc666b5044
Author: William Tu <u9012063 at gmail.com>
Date: 2016-07-02 (Sat, 02 Jul 2016)
Changed paths:
M lib/netlink.c
Log Message:
-----------
netlink: Avoid passing NULL pointer to memcpy(), even with zero length.
In nl_msg_push_flag(), the 3rd NULL parameter causing 'memcpy()'
with NULL source pointer in nl_msg_push_unspec().
Found by Clang.
Signed-off-by: William Tu <u9012063 at gmail.com>
Signed-off-by: Ben Pfaff <blp at ovn.org>
More information about the git
mailing list