From c8a3f3a71764175b650ebc214143acef3cee6dcb Mon Sep 17 00:00:00 2001 From: Sean Hefty Date: Thu, 15 Jul 2010 10:49:16 -0700 Subject: [PATCH] winverbs: fix memory violation in SRQ code Problem reported by Shiqing Fan: "I got a memory violation error in wv_srq.cpp Query() function around line 202. It seems using uninitialized verbsData.output_size for memcpy. The verbsData.input_size is initialized in WvPreQueryQp (wvuverbs.cpp), and it has a similar memcpy in this function too." wv_uverbs.cpp should initialize the output_size to 0 in all WvPre* calls. Signed-off-by: Sean Hefty -- 2.46.0