Bug 124372

Summary: [Mac] HMAC sign/verify crashes when key is empty
Product: WebKit Reporter: Alexey Proskuryakov <ap>
Component: WebCore Misc.Assignee: Alexey Proskuryakov <ap>
Status: RESOLVED FIXED    
Severity: Normal    
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 122679    
Attachments:
Description Flags
proposed fix sam: review+

Alexey Proskuryakov
Reported 2013-11-14 11:41:05 PST
Even when key length is 0, CommonCrypto still requires a non-null key data pointer.
Attachments
proposed fix (5.56 KB, patch)
2013-11-14 11:45 PST, Alexey Proskuryakov
sam: review+
Alexey Proskuryakov
Comment 1 2013-11-14 11:45:49 PST
Created attachment 216965 [details] proposed fix
Alexey Proskuryakov
Comment 2 2013-11-14 11:54:36 PST
Note You need to log in before you can comment on or make changes to this bug.