Juan Lang : crypt32: Assert condition that can occur only in case of a bug.

Alexandre Julliard julliard at winehq.org
Wed Sep 10 06:01:33 CDT 2008


Module: wine
Branch: master
Commit: 78baaf932aa5cec1b2cfb9be530c8f7e3e2b2169
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=78baaf932aa5cec1b2cfb9be530c8f7e3e2b2169

Author: Juan Lang <juan.lang at gmail.com>
Date:   Tue Sep  9 09:18:14 2008 -0700

crypt32: Assert condition that can occur only in case of a bug.

---

 dlls/crypt32/context.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/dlls/crypt32/context.c b/dlls/crypt32/context.c
index a5b749f..959d0c9 100644
--- a/dlls/crypt32/context.c
+++ b/dlls/crypt32/context.c
@@ -173,6 +173,7 @@ void Context_CopyProperties(const void *to, const void *from,
 
     toProperties = Context_GetProperties((void *)to, contextSize);
     fromProperties = Context_GetProperties((void *)from, contextSize);
+    assert(toProperties && fromProperties);
     ContextPropertyList_Copy(toProperties, fromProperties);
 }
 




More information about the wine-cvs mailing list