{"action":"created","issue":{"url":"https://api.github.com/repos/nodejs/node/issues/3499","labels_url":"https://api.github.com/repos/nodejs/node/issues/3499/labels{/name}","comments_url":"https://api.github.com/repos/nodejs/node/issues/3499/comments","events_url":"https://api.github.com/repos/nodejs/node/issues/3499/events","html_url":"https://github.com/nodejs/node/pull/3499","id":113066034,"number":3499,"title":"buffer: don't CHECK on zero-sized realloc","user":{"login":"bnoordhuis","id":275871,"avatar_url":"https://avatars.githubusercontent.com/u/275871?v=3","gravatar_id":"","url":"https://api.github.com/users/bnoordhuis","html_url":"https://github.com/bnoordhuis","followers_url":"https://api.github.com/users/bnoordhuis/followers","following_url":"https://api.github.com/users/bnoordhuis/following{/other_user}","gists_url":"https://api.github.com/users/bnoordhuis/gists{/gist_id}","starred_url":"https://api.github.com/users/bnoordhuis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bnoordhuis/subscriptions","organizations_url":"https://api.github.com/users/bnoordhuis/orgs","repos_url":"https://api.github.com/users/bnoordhuis/repos","events_url":"https://api.github.com/users/bnoordhuis/events{/privacy}","received_events_url":"https://api.github.com/users/bnoordhuis/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/nodejs/node/labels/buffer","name":"buffer","color":"f7c6c7"},{"url":"https://api.github.com/repos/nodejs/node/labels/lts-watch-v4.x","name":"lts-watch-v4.x","color":"eb6420"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-10-23T17:41:02Z","updated_at":"2015-10-23T18:33:30Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/nodejs/node/pulls/3499","html_url":"https://github.com/nodejs/node/pull/3499","diff_url":"https://github.com/nodejs/node/pull/3499.diff","patch_url":"https://github.com/nodejs/node/pull/3499.patch"},"body":"malloc(0) and realloc(ptr, 0) have implementation-defined behavior in\r\nthat the standard allows them to either return a unique pointer or a\r\nnullptr for zero-sized allocation requests.  Normalize by always using\r\na nullptr.\r\n\r\nFixes: https://github.com/nodejs/node/issues/3496\r\n\r\nR=@trevnorris\r\n\r\nCI: https://ci.nodejs.org/job/node-test-pull-request/582/"},"comment":{"url":"https://api.github.com/repos/nodejs/node/issues/comments/150657654","html_url":"https://github.com/nodejs/node/pull/3499#issuecomment-150657654","issue_url":"https://api.github.com/repos/nodejs/node/issues/3499","id":150657654,"user":{"login":"thefourtheye","id":696611,"avatar_url":"https://avatars.githubusercontent.com/u/696611?v=3","gravatar_id":"","url":"https://api.github.com/users/thefourtheye","html_url":"https://github.com/thefourtheye","followers_url":"https://api.github.com/users/thefourtheye/followers","following_url":"https://api.github.com/users/thefourtheye/following{/other_user}","gists_url":"https://api.github.com/users/thefourtheye/gists{/gist_id}","starred_url":"https://api.github.com/users/thefourtheye/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thefourtheye/subscriptions","organizations_url":"https://api.github.com/users/thefourtheye/orgs","repos_url":"https://api.github.com/users/thefourtheye/repos","events_url":"https://api.github.com/users/thefourtheye/events{/privacy}","received_events_url":"https://api.github.com/users/thefourtheye/received_events","type":"User","site_admin":false},"created_at":"2015-10-23T18:33:30Z","updated_at":"2015-10-23T18:33:30Z","body":"LGTM"}}