Crash when calling SecItemAdd with a null result pointer
authorandersca@apple.com <andersca@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 17 Jan 2012 00:25:44 +0000 (00:25 +0000)
committerandersca@apple.com <andersca@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 17 Jan 2012 00:25:44 +0000 (00:25 +0000)
commit79c8f5d9c84aebdc8a7092aaa666c941bb742785
tree0ade182d88946c80b2211a3af74c21bcd105a0a9
parentcdec33edf29d0900f04ca22e9fda00699ab90fc4
Crash when calling SecItemAdd with a null result pointer
https://bugs.webkit.org/show_bug.cgi?id=76407
<rdar://problem/10696087>

Reviewed by Brady Eidson.

Add null check.

* WebProcess/mac/SecItemShimMethods.mm:
(WebKit::webSecItemAdd):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@105105 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebKit2/ChangeLog
Source/WebKit2/WebProcess/mac/SecItemShimMethods.mm