]> git.proxmox.com Git - mirror_ovs.git/commit
datapath-windows: Fix possible NULL deference in OvsFullCopyNBL
authorAlin Serdean <aserdean@cloudbasesolutions.com>
Fri, 14 Jul 2017 04:40:56 +0000 (04:40 +0000)
committerBen Pfaff <blp@ovn.org>
Wed, 2 Aug 2017 18:31:02 +0000 (11:31 -0700)
commit445995a8e270d6a7301fbc09b482d3e177172edb
tree843a95f66a9fdabc7e0ffc86898037801163bf8a
parent0d4374aa82dea2dc316c432c0cfee371456fcf9d
datapath-windows: Fix possible NULL deference in OvsFullCopyNBL

Check if the first net buffer exists before trying to copy it.

Found using WDK 10 static code analysis.

Signed-off-by: Alin Gabriel Serdean <aserdean@cloudbasesolutions.com>
Signed-off-by: Ben Pfaff <blp@ovn.org>
Acked-by: Shashank Ram <rams@vmware.com>
datapath-windows/ovsext/BufferMgmt.c