Re: [ovs-dev] [PATCH 2/5] datapath-windows: read overrun in stt.c

2016-09-20 Thread Alin Serdean
Please disregard this patch I'll post a new series.

> -Original Message-
> From: Alin Serdean
> Sent: Wednesday, September 21, 2016 12:08 AM
> To: dev@openvswitch.org
> Cc: Alin Serdean 
> Subject: [PATCH 2/5] datapath-windows: read overrun in stt.c
> 
> Fix possible read overrun.
> 
> Signed-off-by: Alin Gabriel Serdean 
> ---
>  datapath-windows/ovsext/Stt.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/datapath-windows/ovsext/Stt.c b/datapath-
> windows/ovsext/Stt.c index ad322d2..cc0f912 100644
> --- a/datapath-windows/ovsext/Stt.c
> +++ b/datapath-windows/ovsext/Stt.c
> @@ -281,7 +281,7 @@ OvsDoEncapStt(POVS_VPORT_ENTRY vport,
>  ASSERT(((PCHAR)>dstMacAddr + sizeof fwdInfo-
> >dstMacAddr) ==
>  (PCHAR)>srcMacAddr);
>  NdisMoveMemory(outerEthHdr->Destination, fwdInfo->dstMacAddr,
> -sizeof outerEthHdr->Destination + sizeof 
> outerEthHdr->Source);
> +   sizeof outerEthHdr->Destination);
>  outerEthHdr->Type = htons(ETH_TYPE_IPV4);
> 
>  /* L3 header */
> --
> 2.9.2.windows.1
___
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev


[ovs-dev] [PATCH 2/5] datapath-windows: read overrun in stt.c

2016-09-20 Thread Alin Serdean
Fix possible read overrun.

Signed-off-by: Alin Gabriel Serdean 
---
 datapath-windows/ovsext/Stt.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/datapath-windows/ovsext/Stt.c b/datapath-windows/ovsext/Stt.c
index ad322d2..cc0f912 100644
--- a/datapath-windows/ovsext/Stt.c
+++ b/datapath-windows/ovsext/Stt.c
@@ -281,7 +281,7 @@ OvsDoEncapStt(POVS_VPORT_ENTRY vport,
 ASSERT(((PCHAR)>dstMacAddr + sizeof fwdInfo->dstMacAddr) ==
 (PCHAR)>srcMacAddr);
 NdisMoveMemory(outerEthHdr->Destination, fwdInfo->dstMacAddr,
-sizeof outerEthHdr->Destination + sizeof 
outerEthHdr->Source);
+   sizeof outerEthHdr->Destination);
 outerEthHdr->Type = htons(ETH_TYPE_IPV4);
 
 /* L3 header */
-- 
2.9.2.windows.1
___
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev