[Webkit-unassigned] [Bug 65703] New: Leak of password string when creating Credential

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Aug 4 10:49:56 PDT 2011


https://bugs.webkit.org/show_bug.cgi?id=65703

           Summary: Leak of password string when creating Credential
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Platform
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: psolanki at apple.com


In AuthenticationCF.cpp, we have

Credential core(CFURLCredentialRef cfCredential)
{
    ....

    return Credential(CFURLCredentialGetUsername(cfCredential), CFURLCredentialCopyPassword(cfCredential), persistence);
}

The password string returned from CFURLCredentialCopyPassword is a copy. We need to free it.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list