{"action":"opened","issue":{"url":"https://api.github.com/repos/uhop/node-re2/issues/3","repository_url":"https://api.github.com/repos/uhop/node-re2","labels_url":"https://api.github.com/repos/uhop/node-re2/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/uhop/node-re2/issues/3/comments","events_url":"https://api.github.com/repos/uhop/node-re2/issues/3/events","html_url":"https://github.com/uhop/node-re2/issues/3","id":153538712,"number":3,"title":"Core Dump and Segmentation Fault Bugs","user":{"login":"fereidani","id":3057665,"avatar_url":"https://avatars.githubusercontent.com/u/3057665?v=3","gravatar_id":"","url":"https://api.github.com/users/fereidani","html_url":"https://github.com/fereidani","followers_url":"https://api.github.com/users/fereidani/followers","following_url":"https://api.github.com/users/fereidani/following{/other_user}","gists_url":"https://api.github.com/users/fereidani/gists{/gist_id}","starred_url":"https://api.github.com/users/fereidani/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fereidani/subscriptions","organizations_url":"https://api.github.com/users/fereidani/orgs","repos_url":"https://api.github.com/users/fereidani/repos","events_url":"https://api.github.com/users/fereidani/events{/privacy}","received_events_url":"https://api.github.com/users/fereidani/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-05-06T21:09:29Z","updated_at":"2016-05-06T21:09:29Z","closed_at":null,"body":"Hi ,\r\n\r\nI find some possible security vulnerabilities in this package .\r\n\r\nsome uncommon inputs for RE2 like arrays and objects cause crash in main node process .\r\n\r\nHere is 2 examples :\r\n\r\n```\r\nvar regex=new RE2([])\r\n```\r\n\r\nFATAL ERROR: v8::Object::GetAlignedPointerFromInternalField() Internal field out of bounds\r\nAborted (core dumped)\r\n\r\n```\r\nvar regex=new RE2({})\r\n```\r\n\r\nSegmentation fault (core dumped)\r\n\r\n\r\nMy test platform is ubuntu , node version v6.0.0\r\n\r\nBest Regards"}}