Rubber-stamped by Kevin Ollivier.
authorbfulgham@webkit.org <bfulgham@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 12 Aug 2009 19:41:48 +0000 (19:41 +0000)
committerbfulgham@webkit.org <bfulgham@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 12 Aug 2009 19:41:48 +0000 (19:41 +0000)
commitc193bff852c7322b3233666831b729f758da2a4c
treeb690b6ef989778ab95c2c015daa68c27fb7fc99b
parent2c6f0eae6459f6f2017f99169804a904d58e7a6b
Rubber-stamped by Kevin Ollivier.

Handle crash in wx due to null value passed to strlen in
the CString constructor.

* platform/network/curl/ResourceHandleManager.cpp:
(WebCore::certificatePath):  Check for null return from getenv
and use default CString constructor instead.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@47138 268f45cc-cd09-0410-ab3c-d52691b4dbfc
WebCore/ChangeLog
WebCore/platform/network/curl/ResourceHandleManager.cpp