{"action":"opened","number":69,"pull_request":{"url":"https://api.github.com/repos/indutny/bud/pulls/69","id":38184450,"html_url":"https://github.com/indutny/bud/pull/69","diff_url":"https://github.com/indutny/bud/pull/69.diff","patch_url":"https://github.com/indutny/bud/pull/69.patch","issue_url":"https://api.github.com/repos/indutny/bud/issues/69","number":69,"state":"open","locked":false,"title":"Check for client NULL pointer","user":{"login":"phillipp","id":766631,"avatar_url":"https://avatars.githubusercontent.com/u/766631?v=3","gravatar_id":"","url":"https://api.github.com/users/phillipp","html_url":"https://github.com/phillipp","followers_url":"https://api.github.com/users/phillipp/followers","following_url":"https://api.github.com/users/phillipp/following{/other_user}","gists_url":"https://api.github.com/users/phillipp/gists{/gist_id}","starred_url":"https://api.github.com/users/phillipp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phillipp/subscriptions","organizations_url":"https://api.github.com/users/phillipp/orgs","repos_url":"https://api.github.com/users/phillipp/repos","events_url":"https://api.github.com/users/phillipp/events{/privacy}","received_events_url":"https://api.github.com/users/phillipp/received_events","type":"User","site_admin":false},"body":"The `client` pointer in the `bud_client_stapling_cb` could be null while derefencing.\r\n\r\nFound by/with facebook infer\r\n\r\nsrc/ocsp.c:262: error: NULL_DEREFERENCE\r\n   pointer client last assigned on line 261 could be null and is dereferenced at line 262, column 7","created_at":"2015-06-21T13:43:15Z","updated_at":"2015-06-21T13:43:15Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/indutny/bud/pulls/69/commits","review_comments_url":"https://api.github.com/repos/indutny/bud/pulls/69/comments","review_comment_url":"https://api.github.com/repos/indutny/bud/pulls/comments{/number}","comments_url":"https://api.github.com/repos/indutny/bud/issues/69/comments","statuses_url":"https://api.github.com/repos/indutny/bud/statuses/360e4e13266bd19088ae33b84c8dcdfa2c47c607","head":{"label":"phillipp:ocsp-stapling-cb-deref","ref":"ocsp-stapling-cb-deref","sha":"360e4e13266bd19088ae33b84c8dcdfa2c47c607","user":{"login":"phillipp","id":766631,"avatar_url":"https://avatars.githubusercontent.com/u/766631?v=3","gravatar_id":"","url":"https://api.github.com/users/phillipp","html_url":"https://github.com/phillipp","followers_url":"https://api.github.com/users/phillipp/followers","following_url":"https://api.github.com/users/phillipp/following{/other_user}","gists_url":"https://api.github.com/users/phillipp/gists{/gist_id}","starred_url":"https://api.github.com/users/phillipp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phillipp/subscriptions","organizations_url":"https://api.github.com/users/phillipp/orgs","repos_url":"https://api.github.com/users/phillipp/repos","events_url":"https://api.github.com/users/phillipp/events{/privacy}","received_events_url":"https://api.github.com/users/phillipp/received_events","type":"User","site_admin":false},"repo":{"id":37784818,"name":"bud","full_name":"phillipp/bud","owner":{"login":"phillipp","id":766631,"avatar_url":"https://avatars.githubusercontent.com/u/766631?v=3","gravatar_id":"","url":"https://api.github.com/users/phillipp","html_url":"https://github.com/phillipp","followers_url":"https://api.github.com/users/phillipp/followers","following_url":"https://api.github.com/users/phillipp/following{/other_user}","gists_url":"https://api.github.com/users/phillipp/gists{/gist_id}","starred_url":"https://api.github.com/users/phillipp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phillipp/subscriptions","organizations_url":"https://api.github.com/users/phillipp/orgs","repos_url":"https://api.github.com/users/phillipp/repos","events_url":"https://api.github.com/users/phillipp/events{/privacy}","received_events_url":"https://api.github.com/users/phillipp/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/phillipp/bud","description":"Bud - The TLS Terminator","fork":true,"url":"https://api.github.com/repos/phillipp/bud","forks_url":"https://api.github.com/repos/phillipp/bud/forks","keys_url":"https://api.github.com/repos/phillipp/bud/keys{/key_id}","collaborators_url":"https://api.github.com/repos/phillipp/bud/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/phillipp/bud/teams","hooks_url":"https://api.github.com/repos/phillipp/bud/hooks","issue_events_url":"https://api.github.com/repos/phillipp/bud/issues/events{/number}","events_url":"https://api.github.com/repos/phillipp/bud/events","assignees_url":"https://api.github.com/repos/phillipp/bud/assignees{/user}","branches_url":"https://api.github.com/repos/phillipp/bud/branches{/branch}","tags_url":"https://api.github.com/repos/phillipp/bud/tags","blobs_url":"https://api.github.com/repos/phillipp/bud/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/phillipp/bud/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/phillipp/bud/git/refs{/sha}","trees_url":"https://api.github.com/repos/phillipp/bud/git/trees{/sha}","statuses_url":"https://api.github.com/repos/phillipp/bud/statuses/{sha}","languages_url":"https://api.github.com/repos/phillipp/bud/languages","stargazers_url":"https://api.github.com/repos/phillipp/bud/stargazers","contributors_url":"https://api.github.com/repos/phillipp/bud/contributors","subscribers_url":"https://api.github.com/repos/phillipp/bud/subscribers","subscription_url":"https://api.github.com/repos/phillipp/bud/subscription","commits_url":"https://api.github.com/repos/phillipp/bud/commits{/sha}","git_commits_url":"https://api.github.com/repos/phillipp/bud/git/commits{/sha}","comments_url":"https://api.github.com/repos/phillipp/bud/comments{/number}","issue_comment_url":"https://api.github.com/repos/phillipp/bud/issues/comments{/number}","contents_url":"https://api.github.com/repos/phillipp/bud/contents/{+path}","compare_url":"https://api.github.com/repos/phillipp/bud/compare/{base}...{head}","merges_url":"https://api.github.com/repos/phillipp/bud/merges","archive_url":"https://api.github.com/repos/phillipp/bud/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/phillipp/bud/downloads","issues_url":"https://api.github.com/repos/phillipp/bud/issues{/number}","pulls_url":"https://api.github.com/repos/phillipp/bud/pulls{/number}","milestones_url":"https://api.github.com/repos/phillipp/bud/milestones{/number}","notifications_url":"https://api.github.com/repos/phillipp/bud/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/phillipp/bud/labels{/name}","releases_url":"https://api.github.com/repos/phillipp/bud/releases{/id}","created_at":"2015-06-20T20:29:36Z","updated_at":"2015-06-20T20:29:37Z","pushed_at":"2015-06-21T13:41:13Z","git_url":"git://github.com/phillipp/bud.git","ssh_url":"git@github.com:phillipp/bud.git","clone_url":"https://github.com/phillipp/bud.git","svn_url":"https://github.com/phillipp/bud","homepage":null,"size":16044,"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":"indutny:master","ref":"master","sha":"a83bc2652a2843cd285e5912149cd8ff8282bd73","user":{"login":"indutny","id":238531,"avatar_url":"https://avatars.githubusercontent.com/u/238531?v=3","gravatar_id":"","url":"https://api.github.com/users/indutny","html_url":"https://github.com/indutny","followers_url":"https://api.github.com/users/indutny/followers","following_url":"https://api.github.com/users/indutny/following{/other_user}","gists_url":"https://api.github.com/users/indutny/gists{/gist_id}","starred_url":"https://api.github.com/users/indutny/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/indutny/subscriptions","organizations_url":"https://api.github.com/users/indutny/orgs","repos_url":"https://api.github.com/users/indutny/repos","events_url":"https://api.github.com/users/indutny/events{/privacy}","received_events_url":"https://api.github.com/users/indutny/received_events","type":"User","site_admin":false},"repo":{"id":14643587,"name":"bud","full_name":"indutny/bud","owner":{"login":"indutny","id":238531,"avatar_url":"https://avatars.githubusercontent.com/u/238531?v=3","gravatar_id":"","url":"https://api.github.com/users/indutny","html_url":"https://github.com/indutny","followers_url":"https://api.github.com/users/indutny/followers","following_url":"https://api.github.com/users/indutny/following{/other_user}","gists_url":"https://api.github.com/users/indutny/gists{/gist_id}","starred_url":"https://api.github.com/users/indutny/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/indutny/subscriptions","organizations_url":"https://api.github.com/users/indutny/orgs","repos_url":"https://api.github.com/users/indutny/repos","events_url":"https://api.github.com/users/indutny/events{/privacy}","received_events_url":"https://api.github.com/users/indutny/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/indutny/bud","description":"Bud - The TLS Terminator","fork":false,"url":"https://api.github.com/repos/indutny/bud","forks_url":"https://api.github.com/repos/indutny/bud/forks","keys_url":"https://api.github.com/repos/indutny/bud/keys{/key_id}","collaborators_url":"https://api.github.com/repos/indutny/bud/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/indutny/bud/teams","hooks_url":"https://api.github.com/repos/indutny/bud/hooks","issue_events_url":"https://api.github.com/repos/indutny/bud/issues/events{/number}","events_url":"https://api.github.com/repos/indutny/bud/events","assignees_url":"https://api.github.com/repos/indutny/bud/assignees{/user}","branches_url":"https://api.github.com/repos/indutny/bud/branches{/branch}","tags_url":"https://api.github.com/repos/indutny/bud/tags","blobs_url":"https://api.github.com/repos/indutny/bud/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/indutny/bud/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/indutny/bud/git/refs{/sha}","trees_url":"https://api.github.com/repos/indutny/bud/git/trees{/sha}","statuses_url":"https://api.github.com/repos/indutny/bud/statuses/{sha}","languages_url":"https://api.github.com/repos/indutny/bud/languages","stargazers_url":"https://api.github.com/repos/indutny/bud/stargazers","contributors_url":"https://api.github.com/repos/indutny/bud/contributors","subscribers_url":"https://api.github.com/repos/indutny/bud/subscribers","subscription_url":"https://api.github.com/repos/indutny/bud/subscription","commits_url":"https://api.github.com/repos/indutny/bud/commits{/sha}","git_commits_url":"https://api.github.com/repos/indutny/bud/git/commits{/sha}","comments_url":"https://api.github.com/repos/indutny/bud/comments{/number}","issue_comment_url":"https://api.github.com/repos/indutny/bud/issues/comments{/number}","contents_url":"https://api.github.com/repos/indutny/bud/contents/{+path}","compare_url":"https://api.github.com/repos/indutny/bud/compare/{base}...{head}","merges_url":"https://api.github.com/repos/indutny/bud/merges","archive_url":"https://api.github.com/repos/indutny/bud/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/indutny/bud/downloads","issues_url":"https://api.github.com/repos/indutny/bud/issues{/number}","pulls_url":"https://api.github.com/repos/indutny/bud/pulls{/number}","milestones_url":"https://api.github.com/repos/indutny/bud/milestones{/number}","notifications_url":"https://api.github.com/repos/indutny/bud/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/indutny/bud/labels{/name}","releases_url":"https://api.github.com/repos/indutny/bud/releases{/id}","created_at":"2013-11-23T14:19:51Z","updated_at":"2015-06-19T05:43:47Z","pushed_at":"2015-06-21T07:42:27Z","git_url":"git://github.com/indutny/bud.git","ssh_url":"git@github.com:indutny/bud.git","clone_url":"https://github.com/indutny/bud.git","svn_url":"https://github.com/indutny/bud","homepage":null,"size":16044,"stargazers_count":327,"watchers_count":327,"language":"C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":22,"mirror_url":null,"open_issues_count":9,"forks":22,"open_issues":9,"watchers":327,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/indutny/bud/pulls/69"},"html":{"href":"https://github.com/indutny/bud/pull/69"},"issue":{"href":"https://api.github.com/repos/indutny/bud/issues/69"},"comments":{"href":"https://api.github.com/repos/indutny/bud/issues/69/comments"},"review_comments":{"href":"https://api.github.com/repos/indutny/bud/pulls/69/comments"},"review_comment":{"href":"https://api.github.com/repos/indutny/bud/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/indutny/bud/pulls/69/commits"},"statuses":{"href":"https://api.github.com/repos/indutny/bud/statuses/360e4e13266bd19088ae33b84c8dcdfa2c47c607"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":1,"deletions":1,"changed_files":1}}