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+

Description Alexey Proskuryakov 2013-11-14 11:41:05 PST
Even when key length is 0, CommonCrypto still requires a non-null key data pointer.
Comment 1 Alexey Proskuryakov 2013-11-14 11:45:49 PST
Created attachment 216965 [details]
proposed fix
Comment 2 Alexey Proskuryakov 2013-11-14 11:54:36 PST
Committed <http://trac.webkit.org/r159299>.