[ovs-dev] [PATCH 2/2] ofp-flow: minimatch is initialized twice.

Ben Pfaff blp at ovn.org
Wed Apr 4 21:05:26 UTC 2018

On Tue, Apr 03, 2018 at 10:12:59AM -0700, Yifeng Sun wrote:
> It is possible that 'fm->match' gets initialized twice in this function,
> which makes the first one leak because its pointer is overwritten by the
> second initialization.
> This patch fixes this issue.
> Signed-off-by: Yifeng Sun <pkusunyifeng at gmail.com>

Thanks, applied to master.  I added:

Fixes: 6a6b7060655e ("ofp-flow: Reduce memory consumption for ofputil_flow_mod, using minimatch.")

More information about the dev mailing list