-
japhet@chromium.org authored
Reviewed by Darin Fisher. [V8] Call malloc and memcpy directly instead of of strdup in convertV8ObjectToNPVariant() when converting strings. If there is a null character in the string, our use of strdup causes us to allocate too little memory, leading to out of bounds reads. https://bugs.webkit.org/show_bug.cgi?id=52631 * bindings/v8/V8NPUtils.cpp: (WebCore::convertV8ObjectToNPVariant): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76264 268f45cc-cd09-0410-ab3c-d52691b4dbfc
243ab97a