NPN_InitializeVariantWithStringCopy is wrong for platforms returning NULL from malloc(0)
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 25 Jan 2013 00:56:19 +0000 (00:56 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 25 Jan 2013 00:56:19 +0000 (00:56 +0000)
commita583b33f69943b440170912227be20645da9534f
tree40b22b43f4e724364a06ce151fae2f40382889cb
parent8cce2238c2423c8911122211d728bf6e11b076e1
NPN_InitializeVariantWithStringCopy is wrong for platforms returning NULL from malloc(0)
https://bugs.webkit.org/show_bug.cgi?id=96272

Patch by Julien Brianceau <jbrianceau@nds.com> on 2013-01-24
Reviewed by Alexey Proskuryakov.

No new tests. This is platform dependent.

* bridge/npruntime.cpp:
(NPN_InitializeVariantWithStringCopy):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@140751 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebCore/ChangeLog
Source/WebCore/bridge/npruntime.cpp