datapath-windows: STT reassemble small fix
authorPaul Boca <pboca@cloudbasesolutions.com>
Mon, 6 Jun 2016 16:45:05 +0000 (16:45 +0000)
committerBen Pfaff <blp@ovn.org>
Tue, 7 Jun 2016 17:52:19 +0000 (10:52 -0700)
commitde8856900636be073caa5625140564f9ce56f44c
tree0e94058a9ae274b0e0ca19cb16ea5e49710e6433
parentbfc27f614262c54fd7fb3b47bb5a3c7d714e9e59
datapath-windows: STT reassemble small fix

Fixed possible deadlock in case NdisGetDataBuffer fails
Validate the segment length and offset on reassemble to avoid buffer overflow

Signed-off-by: Paul-Daniel Boca <pboca@cloudbasesolutions.com>
Acked-by: Sairam Venugopal <vsairam@vmware.com>
Signed-off-by: Ben Pfaff <blp@ovn.org>
datapath-windows/ovsext/Stt.c
datapath-windows/ovsext/Stt.h