[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] FdoCreate: bad memset in failure path.


  • To: <win-pv-devel@xxxxxxxxxxxxxxxxxxxx>
  • From: "Rabish Kumar (3P)" <rabish.kumar@xxxxxxxxxx>
  • Date: Wed, 16 Nov 2022 21:44:21 +0530
  • Authentication-results: esa3.hc3370-68.iphmx.com; dkim=none (message not signed) header.i=none
  • Cc: "Rabish Kumar (3P)" <rabish.kumar@xxxxxxxxxx>
  • Delivery-date: Thu, 17 Nov 2022 09:45:03 +0000
  • Ironport-data: A9a23:14noSKonp7bJQPHFFPveKKmfM2FeBmJAZRIvgKrLsJaIsI4StFCzt garIBmDO6rfZzahLtAiaY+woxsCsZfUzdI1HlA9+XhgEn8WoJuZCYyVIHmrMnLJJKUvbq7FA +Y2MYCccZ9uHhcwgj/3b9ANeFEljfngqoLUUbKCYWYpAFc+E0/NsDo788YhmIlknNOlNA2Ev NL2sqX3NUSsnjV5KQr40YrawP9UlKm06W1wUmAWP6gR5gaHzidNVfrzGInqR5fGatgMdgKFb 76rIIGRpgvx4xorA9W5pbf3GmVirmn6ZFXmZtJ+AsBOszAazsAA+v9T2Mk0MC+7vw6hjdFpo OihgLTrIesf0g8gr8xGO/VQO3kW0aSrY9YrK1Dn2SCY5xWun3cBX5yCpaz5VGEV0r8fPI1Ay RAXAAhTZDzZwL+Q+66QZfF+g+EBdPS7YrpK7xmMzRmBZRonaZXKQqGM7t5ExjYgwMtJGJ4yZ eJAN2ApNk6ZJUQSZBFHU/rSn8/x7pX7WwdRolOOpewU/m3a1iR60aT3McqTcduPLSlQthbE9 z+drjioav0cHP+UwAu4/Su9vbHevx3LZb8uFOPh5uE/1TV/wURMUUZLBDNXu8KRlU+4HspBb kAZ5Ccqhawz71CwCMnwWQWip3yJtQJaXMBfe9DW8ynUlPCSuVzAQDFZEHgRM7TKqfPaWxQSi FWlxZS0Iwdzm5KNW3e41O+p/W2LbH19wXA5WQcISg4M4t/GqY41jw7SQtsLLJNZnuEZChmrn WnU8XFWa6E7yJdSiv7lpQyvbyeE/MChc+Ij2unAsotJBCtdbZXtWYGn4EOzAR1ofNfAFQnpU JTpdqGjAAEy4XOlznLlrAYlRuvBCxO53Nr03zZS82EJrWjFxpJaVdk4DfEXDB4B3jw4UTHoe lTPngha+YVeOnCnBYcuPdzhVp91l/mxS4u+PhwxUjapSsEvHDJrAQk0PRLAt4wTuBVEfV4D1 WezLp/3UCdy5VVPxzuqXeYNuYLHNQhnrV4+hPnTkXya7FZpTCTKEu9abgXSNr1RAWHtiFy9z uuz/vCik313ONASqAGOoeb/8XhiwaAHOK3L
  • Ironport-hdrordr: A9a23:s4Da8KATKU1w7A/lHemm55DYdb4zR+YMi2TC1yhKJiC9Ffbo8v xG/c5rsiMc5wxxZJhNo7290cq7MBHhHPxOgbX5VI3KNGKNhILBFvAH0WKI+VPd8kPFmtK1rZ 0QEJRDNA==
  • List-id: Developer list for the Windows PV Drivers subproject <win-pv-devel.lists.xenproject.org>

Signed-off-by: Rabish Kumar <rabish.kumar@xxxxxxxxxx>
---
 src/xenvif/fdo.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/xenvif/fdo.c b/src/xenvif/fdo.c
index 8067e03..b684c7b 100644
--- a/src/xenvif/fdo.c
+++ b/src/xenvif/fdo.c
@@ -3173,8 +3173,8 @@ FdoCreate(
 fail14:
     Error("fail14\n");
 
-    RtlZeroMemory(&Fdo->UnplugInterface,
-                  sizeof (XENBUS_UNPLUG_INTERFACE));
+    RtlZeroMemory(&Fdo->GnttabInterface,
+                  sizeof (XENBUS_GNTTAB_INTERFACE));
 
 fail13:
     Error("fail13\n");
-- 
2.37.2.windows.2




 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.