[Bug 20567] New: Uninitialised memory reference in RSAENH_CPImportKey

wine-bugs at winehq.org wine-bugs at winehq.org
Tue Nov 3 09:33:34 CST 2009


http://bugs.winehq.org/show_bug.cgi?id=20567

           Summary: Uninitialised memory reference in RSAENH_CPImportKey
           Product: Wine
           Version: 1.1.32
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Keywords: download, source, testcase
          Severity: normal
          Priority: P2
         Component: rsaenh
        AssignedTo: wine-bugs at winehq.org
        ReportedBy: dank at kegel.com


This shows up in Chromium's base_unittests.exe in 
RSAPrivateKeyUnitTest.ShortIntegers test, and also
in the wine conformance tests,
http://kegel.com/wine/valgrind/logs/2009-10-30-09.22/vg-rsaenh_rsaenh.txt

 Use of uninitialised value of size 4
    at  desfunc (des.c:1366)
    by  des3_ecb_encrypt (des.c:1478)
    by  encrypt_block_impl (implglue.c:282)
    by  RSAENH_CPEncrypt (rsaenh.c:2173)
    by  CryptEncrypt (crypt.c:1083)
    by  CryptProtectData (protectdata.c:906)
    by  store_key_pair (rsaenh.c:962)
    by  store_key_container_keys (rsaenh.c:1147)
    by  release_and_install_key (rsaenh.c:2644)
    by  import_public_key (rsaenh.c:2790)
    by  import_key (rsaenh.c:2973)
    by  RSAENH_CPImportKey (rsaenh.c:3020)
    by  CryptImportKey (crypt.c:1827)
    by  test_import_export (rsaenh.c:1654)
  Uninitialised value was created by a client request
    at  mark_block_uninitialized (heap.c:187)
    by  RtlAllocateHeap (heap.c:1429)
    by  store_key_pair (rsaenh.c:953)
    by  store_key_container_keys (rsaenh.c:1147)
    by  release_and_install_key (rsaenh.c:2644)
    by  import_public_key (rsaenh.c:2790)
    by  import_key (rsaenh.c:2973)
    by  RSAENH_CPImportKey (rsaenh.c:3020)
    by  CryptImportKey (crypt.c:1827)
    by  test_import_export (rsaenh.c:1654)

BTW someone should check whether we want to refresh the
rsaenh source that was derived from libtomcrypt; there
is a two years' newer version at
http://libtomcrypt.com/download.html

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list