[Bug 20495] New: CryptUnprotectData can't handle zero-length payloads (affects chromium unit_tests)

wine-bugs at winehq.org wine-bugs at winehq.org
Tue Oct 27 20:29:50 CDT 2009


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

           Summary: CryptUnprotectData can't handle zero-length payloads
                    (affects chromium unit_tests)
           Product: Wine
           Version: 1.1.32
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Keywords: download, testcase
          Severity: normal
          Priority: P2
         Component: crypt32
        AssignedTo: wine-bugs at winehq.org
        ReportedBy: dank at kegel.com


Noticed as follows:
  wget http://kegel.com/wine/chromium/chromium-tests.tar.bz2
  tar -xjvf ../chromium-tests.tar.bz2
  wine src/chrome/Debug/unit_tests.exe
--gtest_filter=EncryptorTest.EncryptionDecryption

This fails with
[ RUN      ] EncryptorTest.EncryptionDecryption
.\browser\password_manager\encryptor_unittest.cc(62): error: Value of:
Encryptor::DecryptString(ciphertext, &result)
  Actual: false
Expected: true
[  FAILED  ] EncryptorTest.EncryptionDecryption (4 ms)

This test case seems to check a corner case that wine doesn't handle
(zero-length payload).
I'll send a conformance test.

-- 
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