Neil Skrypuch : oleaut32: Adding a NULL to a safearray is supposed to
crash .
Alexandre Julliard
julliard at wine.codeweavers.com
Tue Jul 25 05:09:49 CDT 2006
Module: wine
Branch: refs/heads/master
Commit: 8cec3cf120b8159313426acd81753b5a0a4d9ae9
URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=8cec3cf120b8159313426acd81753b5a0a4d9ae9
Author: Neil Skrypuch <ns03ja at brocku.ca>
Date: Sun Jul 23 12:25:52 2006 -0400
oleaut32: Adding a NULL to a safearray is supposed to crash.
---
dlls/oleaut32/safearray.c | 6 ------
1 files changed, 0 insertions(+), 6 deletions(-)
diff --git a/dlls/oleaut32/safearray.c b/dlls/oleaut32/safearray.c
index 0eb92da..d3dd5e1 100644
--- a/dlls/oleaut32/safearray.c
+++ b/dlls/oleaut32/safearray.c
@@ -843,12 +843,6 @@ HRESULT WINAPI SafeArrayPutElement(SAFEA
if (!psa || !rgIndices)
return E_INVALIDARG;
- if (!pvData)
- {
- ERR("Invalid pvData would crash under Win32!\n");
- return E_INVALIDARG;
- }
-
hRet = SafeArrayLock(psa);
if (SUCCEEDED(hRet))
More information about the wine-cvs
mailing list