[PATCH 3/7] oleaut32: Increase buffer size to fix format-overflow warning.
Rémi Bernon
rbernon at codeweavers.com
Wed Nov 13 07:51:20 CST 2019
Signed-off-by: Rémi Bernon <rbernon at codeweavers.com>
---
dlls/oleaut32/oleaut.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/oleaut32/oleaut.c b/dlls/oleaut32/oleaut.c
index 28f796794ae..9417969465e 100644
--- a/dlls/oleaut32/oleaut.c
+++ b/dlls/oleaut32/oleaut.c
@@ -829,7 +829,7 @@ static BOOL actctx_get_typelib_module(REFIID iid, WCHAR *module, DWORD len)
static HRESULT reg_get_typelib_module(REFIID iid, WCHAR *module, DWORD len)
{
REGSAM opposite = (sizeof(void*) == 8) ? KEY_WOW64_32KEY : KEY_WOW64_64KEY;
- char tlguid[200], typelibkey[300], interfacekey[300], ver[100], tlfn[260];
+ char tlguid[200], typelibkey[316], interfacekey[300], ver[100], tlfn[260];
DWORD tlguidlen, verlen, type;
LONG tlfnlen, err;
BOOL is_wow64;
--
2.24.0.rc2
More information about the wine-devel
mailing list