Zebediah Figura : devenum: Correct the size of "name" in register_avicap_devices().

Alexandre Julliard julliard at winehq.org
Fri Aug 28 15:17:58 CDT 2020


Module: wine
Branch: master
Commit: 7bae2aaf95fa2dd6eae7dc1d688e7d4a82b10dde
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=7bae2aaf95fa2dd6eae7dc1d688e7d4a82b10dde

Author: Zebediah Figura <z.figura12 at gmail.com>
Date:   Fri Aug 28 11:59:12 2020 -0500

devenum: Correct the size of "name" in register_avicap_devices().

Signed-off-by: Zebediah Figura <z.figura12 at gmail.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/devenum/createdevenum.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/devenum/createdevenum.c b/dlls/devenum/createdevenum.c
index c72bb683f9..f7b53ad271 100644
--- a/dlls/devenum/createdevenum.c
+++ b/dlls/devenum/createdevenum.c
@@ -726,7 +726,7 @@ static void register_avicap_devices(void)
     REGFILTERPINS2 rgpins = {0};
     REGPINTYPES rgtypes;
     REGFILTER2 rgf;
-    WCHAR name[6];
+    WCHAR name[7];
     VARIANT var;
     HRESULT hr;
     int i = 0;




More information about the wine-cvs mailing list