{"action":"opened","issue":{"url":"https://api.github.com/repos/facebook/hhvm/issues/6168","labels_url":"https://api.github.com/repos/facebook/hhvm/issues/6168/labels{/name}","comments_url":"https://api.github.com/repos/facebook/hhvm/issues/6168/comments","events_url":"https://api.github.com/repos/facebook/hhvm/issues/6168/events","html_url":"https://github.com/facebook/hhvm/issues/6168","id":103647835,"number":6168,"title":"DOMDocument::save() failed with segfault when `filename` is an empty string, null or false","user":{"login":"mrix","id":1012227,"avatar_url":"https://avatars.githubusercontent.com/u/1012227?v=3","gravatar_id":"","url":"https://api.github.com/users/mrix","html_url":"https://github.com/mrix","followers_url":"https://api.github.com/users/mrix/followers","following_url":"https://api.github.com/users/mrix/following{/other_user}","gists_url":"https://api.github.com/users/mrix/gists{/gist_id}","starred_url":"https://api.github.com/users/mrix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrix/subscriptions","organizations_url":"https://api.github.com/users/mrix/orgs","repos_url":"https://api.github.com/users/mrix/repos","events_url":"https://api.github.com/users/mrix/events{/privacy}","received_events_url":"https://api.github.com/users/mrix/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-08-28T04:51:49Z","updated_at":"2015-08-28T04:51:49Z","closed_at":null,"body":"For example:\r\n```bash\r\n$ hhvm --php -r '(new DOMDocument)->save(\"\");'\r\nSegmentation fault (core dumped)\r\n```\r\n\r\nHHVM Version info:\r\n``` bash\r\n$ hhvm --version\r\nHipHop VM 3.9.0 (rel)\r\nCompiler: tags/HHVM-3.9.0-0-ga047a8f8fca8c5a0dd9021867836373ec3e40372\r\nRepo schema: fafdc6abbd9526735214b1d74b58289707518e4f\r\n```"}}