[ovs-git] [openvswitch/ovs] c3f6ba: conntrack: Fix possibly uninitialized memory.
Ben Pfaff
noreply at github.com
Tue Feb 5 00:19:46 UTC 2019
Branch: refs/heads/master
Home: https://github.com/openvswitch/ovs
Commit: c3f6bae258cbcec3b4a37d4724231ec1e19fd3a8
https://github.com/openvswitch/ovs/commit/c3f6bae258cbcec3b4a37d4724231ec1e19fd3a8
Author: Darrell Ball <dlu998 at gmail.com>
Date: 2019-02-04 (Mon, 04 Feb 2019)
Changed paths:
M lib/conntrack.c
Log Message:
-----------
conntrack: Fix possibly uninitialized memory.
There are a few cases where struct 'conn_key' padding may be unspecified
according to the C standard. Practically, it seems implementations don't
have issue, but it is better to be safe. The code paths modified are not
hot ones. Fix this by doing a memcpy in these cases in lieu of a
structure copy.
Found by inspection.
Signed-off-by: Darrell Ball <dlu998 at gmail.com>
Signed-off-by: Ben Pfaff <blp at ovn.org>
More information about the git
mailing list