Bug 65703
Summary: | Leak of password string when creating Credential | ||
---|---|---|---|
Product: | WebKit | Reporter: | Pratik Solanki <psolanki> |
Component: | Platform | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED INVALID | ||
Severity: | Normal | CC: | psolanki |
Priority: | P2 | ||
Version: | 528+ (Nightly build) | ||
Hardware: | Unspecified | ||
OS: | Unspecified |
Pratik Solanki
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.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Pratik Solanki
Actually I'll just do this as part of bug 65704.