UMR in CRYPT_RemoveStringFromMultiString()
Dan Kegel
dank at kegel.com
Thu Nov 19 11:00:58 CST 2009
Hi Juan,
http://kegel.com/wine/valgrind/logs/2009-11-18-21.51/vg-crypt32_oid.txt
says
Invalid read of size 1
at memmove (mc_replace_strmem.c:613)
by CRYPT_RemoveStringFromMultiString (oid.c:885)
by CryptUnregisterDefaultOIDFunction (oid.c:1010)
by test_registerDefaultOIDFunction (oid.c:437)
by func_oid (oid.c:601)
by run_test (test.h:535)
by main (test.h:585)
Address 0x7f040ed4 is 0 bytes after a block of size 44 alloc'd
at notify_alloc (heap.c:279)
by RtlAllocateHeap (heap.c:1521)
by CryptMemAlloc (main.c:125)
by CRYPT_GetDefaultOIDDlls (oid.c:930)
by CryptUnregisterDefaultOIDFunction (oid.c:1009)
by test_registerDefaultOIDFunction (oid.c:437)
This is near the code changed in
crypt32: Don't copy past end of buffer when removing the last
string in a multistring.
- Dan
More information about the wine-devel
mailing list