[ovs-dev] [patch v4] conntrack: Fix possibly uninitialized memory.
Ben Pfaff
blp at ovn.org
Tue Feb 5 00:19:49 UTC 2019
On Mon, Feb 04, 2019 at 04:02:15PM -0800, Darrell Ball wrote:
> 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>
Thanks, applied to master.
More information about the dev
mailing list