Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • W webkit
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • External wiki
    • External wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • App_Technologies
  • webkit
  • Repository

Switch branch/tag
  • webkit
  • Source
  • WebCore
  • bindings
  • v8
  • V8NPUtils.cpp
Find file BlameHistoryPermalink
  • japhet@chromium.org's avatar
    2011-01-20 Nate Chapin <japhet@chromium.org> · 243ab97a
    japhet@chromium.org authored Jan 20, 2011
            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

Replace V8NPUtils.cpp

Attach a file by drag & drop or click to upload


Cancel
GitLab will create a branch in your fork and start a merge request.