{"action":"closed","number":5,"pull_request":{"url":"https://api.github.com/repos/fuchsia-mirror/magenta/pulls/5","id":81371534,"html_url":"https://github.com/fuchsia-mirror/magenta/pull/5","diff_url":"https://github.com/fuchsia-mirror/magenta/pull/5.diff","patch_url":"https://github.com/fuchsia-mirror/magenta/pull/5.patch","issue_url":"https://api.github.com/repos/fuchsia-mirror/magenta/issues/5","number":5,"state":"closed","locked":false,"title":"properly handle common realloc() mistakes","user":{"login":"bryongloden","id":3155274,"avatar_url":"https://avatars.githubusercontent.com/u/3155274?v=3","gravatar_id":"","url":"https://api.github.com/users/bryongloden","html_url":"https://github.com/bryongloden","followers_url":"https://api.github.com/users/bryongloden/followers","following_url":"https://api.github.com/users/bryongloden/following{/other_user}","gists_url":"https://api.github.com/users/bryongloden/gists{/gist_id}","starred_url":"https://api.github.com/users/bryongloden/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bryongloden/subscriptions","organizations_url":"https://api.github.com/users/bryongloden/orgs","repos_url":"https://api.github.com/users/bryongloden/repos","events_url":"https://api.github.com/users/bryongloden/events{/privacy}","received_events_url":"https://api.github.com/users/bryongloden/received_events","type":"User","site_admin":false},"body":"If realloc cannot find enough space, it returns a null pointer, and leaves the previous region allocated.\r\n\r\nFound by https://github.com/bryongloden/cppcheck","created_at":"2016-08-15T20:39:39Z","updated_at":"2016-08-17T23:23:59Z","closed_at":"2016-08-17T23:23:59Z","merged_at":null,"merge_commit_sha":"e0874ebad75167b2f833ccbe2ae9dfb7931f3f1d","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/fuchsia-mirror/magenta/pulls/5/commits","review_comments_url":"https://api.github.com/repos/fuchsia-mirror/magenta/pulls/5/comments","review_comment_url":"https://api.github.com/repos/fuchsia-mirror/magenta/pulls/comments{/number}","comments_url":"https://api.github.com/repos/fuchsia-mirror/magenta/issues/5/comments","statuses_url":"https://api.github.com/repos/fuchsia-mirror/magenta/statuses/f1f954f284abf48ef5fe4187a5cc5dea660f3993","head":{"label":"bryongloden:patch-3","ref":"patch-3","sha":"f1f954f284abf48ef5fe4187a5cc5dea660f3993","user":{"login":"bryongloden","id":3155274,"avatar_url":"https://avatars.githubusercontent.com/u/3155274?v=3","gravatar_id":"","url":"https://api.github.com/users/bryongloden","html_url":"https://github.com/bryongloden","followers_url":"https://api.github.com/users/bryongloden/followers","following_url":"https://api.github.com/users/bryongloden/following{/other_user}","gists_url":"https://api.github.com/users/bryongloden/gists{/gist_id}","starred_url":"https://api.github.com/users/bryongloden/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bryongloden/subscriptions","organizations_url":"https://api.github.com/users/bryongloden/orgs","repos_url":"https://api.github.com/users/bryongloden/repos","events_url":"https://api.github.com/users/bryongloden/events{/privacy}","received_events_url":"https://api.github.com/users/bryongloden/received_events","type":"User","site_admin":false},"repo":{"id":65759404,"name":"magenta-1","full_name":"bryongloden/magenta-1","owner":{"login":"bryongloden","id":3155274,"avatar_url":"https://avatars.githubusercontent.com/u/3155274?v=3","gravatar_id":"","url":"https://api.github.com/users/bryongloden","html_url":"https://github.com/bryongloden","followers_url":"https://api.github.com/users/bryongloden/followers","following_url":"https://api.github.com/users/bryongloden/following{/other_user}","gists_url":"https://api.github.com/users/bryongloden/gists{/gist_id}","starred_url":"https://api.github.com/users/bryongloden/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bryongloden/subscriptions","organizations_url":"https://api.github.com/users/bryongloden/orgs","repos_url":"https://api.github.com/users/bryongloden/repos","events_url":"https://api.github.com/users/bryongloden/events{/privacy}","received_events_url":"https://api.github.com/users/bryongloden/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/bryongloden/magenta-1","description":"Magenta Kernel, Core Drivers, and Services","fork":true,"url":"https://api.github.com/repos/bryongloden/magenta-1","forks_url":"https://api.github.com/repos/bryongloden/magenta-1/forks","keys_url":"https://api.github.com/repos/bryongloden/magenta-1/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bryongloden/magenta-1/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bryongloden/magenta-1/teams","hooks_url":"https://api.github.com/repos/bryongloden/magenta-1/hooks","issue_events_url":"https://api.github.com/repos/bryongloden/magenta-1/issues/events{/number}","events_url":"https://api.github.com/repos/bryongloden/magenta-1/events","assignees_url":"https://api.github.com/repos/bryongloden/magenta-1/assignees{/user}","branches_url":"https://api.github.com/repos/bryongloden/magenta-1/branches{/branch}","tags_url":"https://api.github.com/repos/bryongloden/magenta-1/tags","blobs_url":"https://api.github.com/repos/bryongloden/magenta-1/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bryongloden/magenta-1/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bryongloden/magenta-1/git/refs{/sha}","trees_url":"https://api.github.com/repos/bryongloden/magenta-1/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bryongloden/magenta-1/statuses/{sha}","languages_url":"https://api.github.com/repos/bryongloden/magenta-1/languages","stargazers_url":"https://api.github.com/repos/bryongloden/magenta-1/stargazers","contributors_url":"https://api.github.com/repos/bryongloden/magenta-1/contributors","subscribers_url":"https://api.github.com/repos/bryongloden/magenta-1/subscribers","subscription_url":"https://api.github.com/repos/bryongloden/magenta-1/subscription","commits_url":"https://api.github.com/repos/bryongloden/magenta-1/commits{/sha}","git_commits_url":"https://api.github.com/repos/bryongloden/magenta-1/git/commits{/sha}","comments_url":"https://api.github.com/repos/bryongloden/magenta-1/comments{/number}","issue_comment_url":"https://api.github.com/repos/bryongloden/magenta-1/issues/comments{/number}","contents_url":"https://api.github.com/repos/bryongloden/magenta-1/contents/{+path}","compare_url":"https://api.github.com/repos/bryongloden/magenta-1/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bryongloden/magenta-1/merges","archive_url":"https://api.github.com/repos/bryongloden/magenta-1/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bryongloden/magenta-1/downloads","issues_url":"https://api.github.com/repos/bryongloden/magenta-1/issues{/number}","pulls_url":"https://api.github.com/repos/bryongloden/magenta-1/pulls{/number}","milestones_url":"https://api.github.com/repos/bryongloden/magenta-1/milestones{/number}","notifications_url":"https://api.github.com/repos/bryongloden/magenta-1/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bryongloden/magenta-1/labels{/name}","releases_url":"https://api.github.com/repos/bryongloden/magenta-1/releases{/id}","deployments_url":"https://api.github.com/repos/bryongloden/magenta-1/deployments","created_at":"2016-08-15T19:37:18Z","updated_at":"2016-08-15T19:37:27Z","pushed_at":"2016-08-17T22:41:50Z","git_url":"git://github.com/bryongloden/magenta-1.git","ssh_url":"git@github.com:bryongloden/magenta-1.git","clone_url":"https://github.com/bryongloden/magenta-1.git","svn_url":"https://github.com/bryongloden/magenta-1","homepage":"https://fuchsia-review.googlesource.com/#/q/project:magenta","size":8134,"stargazers_count":0,"watchers_count":0,"language":"C","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"fuchsia-mirror:master","ref":"master","sha":"b86cf42558db5be31b0badb1474875e5117773c0","user":{"login":"fuchsia-mirror","id":12826430,"avatar_url":"https://avatars.githubusercontent.com/u/12826430?v=3","gravatar_id":"","url":"https://api.github.com/users/fuchsia-mirror","html_url":"https://github.com/fuchsia-mirror","followers_url":"https://api.github.com/users/fuchsia-mirror/followers","following_url":"https://api.github.com/users/fuchsia-mirror/following{/other_user}","gists_url":"https://api.github.com/users/fuchsia-mirror/gists{/gist_id}","starred_url":"https://api.github.com/users/fuchsia-mirror/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fuchsia-mirror/subscriptions","organizations_url":"https://api.github.com/users/fuchsia-mirror/orgs","repos_url":"https://api.github.com/users/fuchsia-mirror/repos","events_url":"https://api.github.com/users/fuchsia-mirror/events{/privacy}","received_events_url":"https://api.github.com/users/fuchsia-mirror/received_events","type":"Organization","site_admin":false},"repo":{"id":61856995,"name":"magenta","full_name":"fuchsia-mirror/magenta","owner":{"login":"fuchsia-mirror","id":12826430,"avatar_url":"https://avatars.githubusercontent.com/u/12826430?v=3","gravatar_id":"","url":"https://api.github.com/users/fuchsia-mirror","html_url":"https://github.com/fuchsia-mirror","followers_url":"https://api.github.com/users/fuchsia-mirror/followers","following_url":"https://api.github.com/users/fuchsia-mirror/following{/other_user}","gists_url":"https://api.github.com/users/fuchsia-mirror/gists{/gist_id}","starred_url":"https://api.github.com/users/fuchsia-mirror/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fuchsia-mirror/subscriptions","organizations_url":"https://api.github.com/users/fuchsia-mirror/orgs","repos_url":"https://api.github.com/users/fuchsia-mirror/repos","events_url":"https://api.github.com/users/fuchsia-mirror/events{/privacy}","received_events_url":"https://api.github.com/users/fuchsia-mirror/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/fuchsia-mirror/magenta","description":"Magenta Kernel, Core Drivers, and Services","fork":false,"url":"https://api.github.com/repos/fuchsia-mirror/magenta","forks_url":"https://api.github.com/repos/fuchsia-mirror/magenta/forks","keys_url":"https://api.github.com/repos/fuchsia-mirror/magenta/keys{/key_id}","collaborators_url":"https://api.github.com/repos/fuchsia-mirror/magenta/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/fuchsia-mirror/magenta/teams","hooks_url":"https://api.github.com/repos/fuchsia-mirror/magenta/hooks","issue_events_url":"https://api.github.com/repos/fuchsia-mirror/magenta/issues/events{/number}","events_url":"https://api.github.com/repos/fuchsia-mirror/magenta/events","assignees_url":"https://api.github.com/repos/fuchsia-mirror/magenta/assignees{/user}","branches_url":"https://api.github.com/repos/fuchsia-mirror/magenta/branches{/branch}","tags_url":"https://api.github.com/repos/fuchsia-mirror/magenta/tags","blobs_url":"https://api.github.com/repos/fuchsia-mirror/magenta/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/fuchsia-mirror/magenta/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/fuchsia-mirror/magenta/git/refs{/sha}","trees_url":"https://api.github.com/repos/fuchsia-mirror/magenta/git/trees{/sha}","statuses_url":"https://api.github.com/repos/fuchsia-mirror/magenta/statuses/{sha}","languages_url":"https://api.github.com/repos/fuchsia-mirror/magenta/languages","stargazers_url":"https://api.github.com/repos/fuchsia-mirror/magenta/stargazers","contributors_url":"https://api.github.com/repos/fuchsia-mirror/magenta/contributors","subscribers_url":"https://api.github.com/repos/fuchsia-mirror/magenta/subscribers","subscription_url":"https://api.github.com/repos/fuchsia-mirror/magenta/subscription","commits_url":"https://api.github.com/repos/fuchsia-mirror/magenta/commits{/sha}","git_commits_url":"https://api.github.com/repos/fuchsia-mirror/magenta/git/commits{/sha}","comments_url":"https://api.github.com/repos/fuchsia-mirror/magenta/comments{/number}","issue_comment_url":"https://api.github.com/repos/fuchsia-mirror/magenta/issues/comments{/number}","contents_url":"https://api.github.com/repos/fuchsia-mirror/magenta/contents/{+path}","compare_url":"https://api.github.com/repos/fuchsia-mirror/magenta/compare/{base}...{head}","merges_url":"https://api.github.com/repos/fuchsia-mirror/magenta/merges","archive_url":"https://api.github.com/repos/fuchsia-mirror/magenta/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/fuchsia-mirror/magenta/downloads","issues_url":"https://api.github.com/repos/fuchsia-mirror/magenta/issues{/number}","pulls_url":"https://api.github.com/repos/fuchsia-mirror/magenta/pulls{/number}","milestones_url":"https://api.github.com/repos/fuchsia-mirror/magenta/milestones{/number}","notifications_url":"https://api.github.com/repos/fuchsia-mirror/magenta/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/fuchsia-mirror/magenta/labels{/name}","releases_url":"https://api.github.com/repos/fuchsia-mirror/magenta/releases{/id}","deployments_url":"https://api.github.com/repos/fuchsia-mirror/magenta/deployments","created_at":"2016-06-24T04:32:20Z","updated_at":"2016-08-17T23:20:46Z","pushed_at":"2016-08-17T23:15:34Z","git_url":"git://github.com/fuchsia-mirror/magenta.git","ssh_url":"git@github.com:fuchsia-mirror/magenta.git","clone_url":"https://github.com/fuchsia-mirror/magenta.git","svn_url":"https://github.com/fuchsia-mirror/magenta","homepage":"https://fuchsia-review.googlesource.com/#/q/project:magenta","size":14961,"stargazers_count":951,"watchers_count":951,"language":"C","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":92,"mirror_url":null,"open_issues_count":3,"forks":92,"open_issues":3,"watchers":951,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/fuchsia-mirror/magenta/pulls/5"},"html":{"href":"https://github.com/fuchsia-mirror/magenta/pull/5"},"issue":{"href":"https://api.github.com/repos/fuchsia-mirror/magenta/issues/5"},"comments":{"href":"https://api.github.com/repos/fuchsia-mirror/magenta/issues/5/comments"},"review_comments":{"href":"https://api.github.com/repos/fuchsia-mirror/magenta/pulls/5/comments"},"review_comment":{"href":"https://api.github.com/repos/fuchsia-mirror/magenta/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/fuchsia-mirror/magenta/pulls/5/commits"},"statuses":{"href":"https://api.github.com/repos/fuchsia-mirror/magenta/statuses/f1f954f284abf48ef5fe4187a5cc5dea660f3993"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":6,"review_comments":0,"commits":2,"additions":14,"deletions":5,"changed_files":1}}
{"actor":{"display_login":"bryongloden"}}