UMR in CertIsRDNAttrsInCertificateName()

Dan Kegel dank at kegel.com
Thu Nov 19 10:56:52 CST 2009


http://kegel.com/wine/valgrind/logs/2009-11-18-21.51/vg-crypt32_cert.txt
shows a new UMR (purify-speak for uninitialized memory read) error

 Conditional jump or move depends on uninitialised value(s)
    at  strncmp (mc_replace_strmem.c:386)
    by  find_matching_rdn_attr (cert.c:1877)
    by  CertIsRDNAttrsInCertificateName (cert.c:1907)
    by  testIsRDNAttrsInCertificateName (cert.c:2698)
  Uninitialised value was created by a client request
    at  mark_block_uninitialized (heap.c:192)
    by  RtlAllocateHeap (heap.c:1526)
    by  HeapAlloc (heap.c:276)
    by  GlobalAlloc (heap.c:369)
    by  LocalAlloc (heap.c:969)
    by  CRYPT_DecodeEnsureSpace (decode.c:218)
    by  CRYPT_AsnDecodeName (decode.c:1918)
    by  CryptDecodeObjectEx (decode.c:5909)
    by  CertIsRDNAttrsInCertificateName (cert.c:1901)
    by  testIsRDNAttrsInCertificateName (cert.c:2698)

Juan, I think that's yours, could you have a look?
- Dan



More information about the wine-devel mailing list