{"action":"opened","number":451,"pull_request":{"url":"https://api.github.com/repos/klee/klee/pulls/451","id":80614857,"html_url":"https://github.com/klee/klee/pull/451","diff_url":"https://github.com/klee/klee/pull/451.diff","patch_url":"https://github.com/klee/klee/pull/451.patch","issue_url":"https://api.github.com/repos/klee/klee/issues/451","number":451,"state":"open","locked":false,"title":"Fix to PTree pointer use-after-delete","user":{"login":"andreamattavelli","id":5530090,"avatar_url":"https://avatars.githubusercontent.com/u/5530090?v=3","gravatar_id":"","url":"https://api.github.com/users/andreamattavelli","html_url":"https://github.com/andreamattavelli","followers_url":"https://api.github.com/users/andreamattavelli/followers","following_url":"https://api.github.com/users/andreamattavelli/following{/other_user}","gists_url":"https://api.github.com/users/andreamattavelli/gists{/gist_id}","starred_url":"https://api.github.com/users/andreamattavelli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andreamattavelli/subscriptions","organizations_url":"https://api.github.com/users/andreamattavelli/orgs","repos_url":"https://api.github.com/users/andreamattavelli/repos","events_url":"https://api.github.com/users/andreamattavelli/events{/privacy}","received_events_url":"https://api.github.com/users/andreamattavelli/received_events","type":"User","site_admin":false},"body":"In PTree::remove we delete the memory pointed by `n` at line 40 but then we use the same pointer inside the `if` at lines 41 and 45. As far as I know this is undefined behavior.","created_at":"2016-08-09T12:54:49Z","updated_at":"2016-08-09T12:54:49Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/klee/klee/pulls/451/commits","review_comments_url":"https://api.github.com/repos/klee/klee/pulls/451/comments","review_comment_url":"https://api.github.com/repos/klee/klee/pulls/comments{/number}","comments_url":"https://api.github.com/repos/klee/klee/issues/451/comments","statuses_url":"https://api.github.com/repos/klee/klee/statuses/e58d0412cbde4e0f1a4490e7ce4c5d480866bfbe","head":{"label":"andreamattavelli:fix_ub_ptree","ref":"fix_ub_ptree","sha":"e58d0412cbde4e0f1a4490e7ce4c5d480866bfbe","user":{"login":"andreamattavelli","id":5530090,"avatar_url":"https://avatars.githubusercontent.com/u/5530090?v=3","gravatar_id":"","url":"https://api.github.com/users/andreamattavelli","html_url":"https://github.com/andreamattavelli","followers_url":"https://api.github.com/users/andreamattavelli/followers","following_url":"https://api.github.com/users/andreamattavelli/following{/other_user}","gists_url":"https://api.github.com/users/andreamattavelli/gists{/gist_id}","starred_url":"https://api.github.com/users/andreamattavelli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andreamattavelli/subscriptions","organizations_url":"https://api.github.com/users/andreamattavelli/orgs","repos_url":"https://api.github.com/users/andreamattavelli/repos","events_url":"https://api.github.com/users/andreamattavelli/events{/privacy}","received_events_url":"https://api.github.com/users/andreamattavelli/received_events","type":"User","site_admin":false},"repo":{"id":56226347,"name":"klee","full_name":"andreamattavelli/klee","owner":{"login":"andreamattavelli","id":5530090,"avatar_url":"https://avatars.githubusercontent.com/u/5530090?v=3","gravatar_id":"","url":"https://api.github.com/users/andreamattavelli","html_url":"https://github.com/andreamattavelli","followers_url":"https://api.github.com/users/andreamattavelli/followers","following_url":"https://api.github.com/users/andreamattavelli/following{/other_user}","gists_url":"https://api.github.com/users/andreamattavelli/gists{/gist_id}","starred_url":"https://api.github.com/users/andreamattavelli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andreamattavelli/subscriptions","organizations_url":"https://api.github.com/users/andreamattavelli/orgs","repos_url":"https://api.github.com/users/andreamattavelli/repos","events_url":"https://api.github.com/users/andreamattavelli/events{/privacy}","received_events_url":"https://api.github.com/users/andreamattavelli/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/andreamattavelli/klee","description":"KLEE Symbolic Virtual Machine","fork":true,"url":"https://api.github.com/repos/andreamattavelli/klee","forks_url":"https://api.github.com/repos/andreamattavelli/klee/forks","keys_url":"https://api.github.com/repos/andreamattavelli/klee/keys{/key_id}","collaborators_url":"https://api.github.com/repos/andreamattavelli/klee/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/andreamattavelli/klee/teams","hooks_url":"https://api.github.com/repos/andreamattavelli/klee/hooks","issue_events_url":"https://api.github.com/repos/andreamattavelli/klee/issues/events{/number}","events_url":"https://api.github.com/repos/andreamattavelli/klee/events","assignees_url":"https://api.github.com/repos/andreamattavelli/klee/assignees{/user}","branches_url":"https://api.github.com/repos/andreamattavelli/klee/branches{/branch}","tags_url":"https://api.github.com/repos/andreamattavelli/klee/tags","blobs_url":"https://api.github.com/repos/andreamattavelli/klee/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/andreamattavelli/klee/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/andreamattavelli/klee/git/refs{/sha}","trees_url":"https://api.github.com/repos/andreamattavelli/klee/git/trees{/sha}","statuses_url":"https://api.github.com/repos/andreamattavelli/klee/statuses/{sha}","languages_url":"https://api.github.com/repos/andreamattavelli/klee/languages","stargazers_url":"https://api.github.com/repos/andreamattavelli/klee/stargazers","contributors_url":"https://api.github.com/repos/andreamattavelli/klee/contributors","subscribers_url":"https://api.github.com/repos/andreamattavelli/klee/subscribers","subscription_url":"https://api.github.com/repos/andreamattavelli/klee/subscription","commits_url":"https://api.github.com/repos/andreamattavelli/klee/commits{/sha}","git_commits_url":"https://api.github.com/repos/andreamattavelli/klee/git/commits{/sha}","comments_url":"https://api.github.com/repos/andreamattavelli/klee/comments{/number}","issue_comment_url":"https://api.github.com/repos/andreamattavelli/klee/issues/comments{/number}","contents_url":"https://api.github.com/repos/andreamattavelli/klee/contents/{+path}","compare_url":"https://api.github.com/repos/andreamattavelli/klee/compare/{base}...{head}","merges_url":"https://api.github.com/repos/andreamattavelli/klee/merges","archive_url":"https://api.github.com/repos/andreamattavelli/klee/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/andreamattavelli/klee/downloads","issues_url":"https://api.github.com/repos/andreamattavelli/klee/issues{/number}","pulls_url":"https://api.github.com/repos/andreamattavelli/klee/pulls{/number}","milestones_url":"https://api.github.com/repos/andreamattavelli/klee/milestones{/number}","notifications_url":"https://api.github.com/repos/andreamattavelli/klee/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/andreamattavelli/klee/labels{/name}","releases_url":"https://api.github.com/repos/andreamattavelli/klee/releases{/id}","deployments_url":"https://api.github.com/repos/andreamattavelli/klee/deployments","created_at":"2016-04-14T09:52:32Z","updated_at":"2016-04-14T09:52:34Z","pushed_at":"2016-08-09T12:50:58Z","git_url":"git://github.com/andreamattavelli/klee.git","ssh_url":"git@github.com:andreamattavelli/klee.git","clone_url":"https://github.com/andreamattavelli/klee.git","svn_url":"https://github.com/andreamattavelli/klee","homepage":"http://klee.llvm.org","size":4271,"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":"klee:master","ref":"master","sha":"74d88a5e0d6020fc262c166e42b8acdc335b4999","user":{"login":"klee","id":6224192,"avatar_url":"https://avatars.githubusercontent.com/u/6224192?v=3","gravatar_id":"","url":"https://api.github.com/users/klee","html_url":"https://github.com/klee","followers_url":"https://api.github.com/users/klee/followers","following_url":"https://api.github.com/users/klee/following{/other_user}","gists_url":"https://api.github.com/users/klee/gists{/gist_id}","starred_url":"https://api.github.com/users/klee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/klee/subscriptions","organizations_url":"https://api.github.com/users/klee/orgs","repos_url":"https://api.github.com/users/klee/repos","events_url":"https://api.github.com/users/klee/events{/privacy}","received_events_url":"https://api.github.com/users/klee/received_events","type":"Organization","site_admin":false},"repo":{"id":11568417,"name":"klee","full_name":"klee/klee","owner":{"login":"klee","id":6224192,"avatar_url":"https://avatars.githubusercontent.com/u/6224192?v=3","gravatar_id":"","url":"https://api.github.com/users/klee","html_url":"https://github.com/klee","followers_url":"https://api.github.com/users/klee/followers","following_url":"https://api.github.com/users/klee/following{/other_user}","gists_url":"https://api.github.com/users/klee/gists{/gist_id}","starred_url":"https://api.github.com/users/klee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/klee/subscriptions","organizations_url":"https://api.github.com/users/klee/orgs","repos_url":"https://api.github.com/users/klee/repos","events_url":"https://api.github.com/users/klee/events{/privacy}","received_events_url":"https://api.github.com/users/klee/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/klee/klee","description":"KLEE Symbolic Virtual Machine","fork":false,"url":"https://api.github.com/repos/klee/klee","forks_url":"https://api.github.com/repos/klee/klee/forks","keys_url":"https://api.github.com/repos/klee/klee/keys{/key_id}","collaborators_url":"https://api.github.com/repos/klee/klee/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/klee/klee/teams","hooks_url":"https://api.github.com/repos/klee/klee/hooks","issue_events_url":"https://api.github.com/repos/klee/klee/issues/events{/number}","events_url":"https://api.github.com/repos/klee/klee/events","assignees_url":"https://api.github.com/repos/klee/klee/assignees{/user}","branches_url":"https://api.github.com/repos/klee/klee/branches{/branch}","tags_url":"https://api.github.com/repos/klee/klee/tags","blobs_url":"https://api.github.com/repos/klee/klee/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/klee/klee/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/klee/klee/git/refs{/sha}","trees_url":"https://api.github.com/repos/klee/klee/git/trees{/sha}","statuses_url":"https://api.github.com/repos/klee/klee/statuses/{sha}","languages_url":"https://api.github.com/repos/klee/klee/languages","stargazers_url":"https://api.github.com/repos/klee/klee/stargazers","contributors_url":"https://api.github.com/repos/klee/klee/contributors","subscribers_url":"https://api.github.com/repos/klee/klee/subscribers","subscription_url":"https://api.github.com/repos/klee/klee/subscription","commits_url":"https://api.github.com/repos/klee/klee/commits{/sha}","git_commits_url":"https://api.github.com/repos/klee/klee/git/commits{/sha}","comments_url":"https://api.github.com/repos/klee/klee/comments{/number}","issue_comment_url":"https://api.github.com/repos/klee/klee/issues/comments{/number}","contents_url":"https://api.github.com/repos/klee/klee/contents/{+path}","compare_url":"https://api.github.com/repos/klee/klee/compare/{base}...{head}","merges_url":"https://api.github.com/repos/klee/klee/merges","archive_url":"https://api.github.com/repos/klee/klee/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/klee/klee/downloads","issues_url":"https://api.github.com/repos/klee/klee/issues{/number}","pulls_url":"https://api.github.com/repos/klee/klee/pulls{/number}","milestones_url":"https://api.github.com/repos/klee/klee/milestones{/number}","notifications_url":"https://api.github.com/repos/klee/klee/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/klee/klee/labels{/name}","releases_url":"https://api.github.com/repos/klee/klee/releases{/id}","deployments_url":"https://api.github.com/repos/klee/klee/deployments","created_at":"2013-07-21T22:03:03Z","updated_at":"2016-08-09T06:29:56Z","pushed_at":"2016-08-09T12:54:49Z","git_url":"git://github.com/klee/klee.git","ssh_url":"git@github.com:klee/klee.git","clone_url":"https://github.com/klee/klee.git","svn_url":"https://github.com/klee/klee","homepage":"http://klee.llvm.org","size":5856,"stargazers_count":373,"watchers_count":373,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":181,"mirror_url":null,"open_issues_count":98,"forks":181,"open_issues":98,"watchers":373,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/klee/klee/pulls/451"},"html":{"href":"https://github.com/klee/klee/pull/451"},"issue":{"href":"https://api.github.com/repos/klee/klee/issues/451"},"comments":{"href":"https://api.github.com/repos/klee/klee/issues/451/comments"},"review_comments":{"href":"https://api.github.com/repos/klee/klee/pulls/451/comments"},"review_comment":{"href":"https://api.github.com/repos/klee/klee/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/klee/klee/pulls/451/commits"},"statuses":{"href":"https://api.github.com/repos/klee/klee/statuses/e58d0412cbde4e0f1a4490e7ce4c5d480866bfbe"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":1,"deletions":1,"changed_files":1}}
{"actor":{"display_login":"andreamattavelli"}}