{"action":"closed","number":322,"pull_request":{"url":"https://api.github.com/repos/krb5/krb5/pulls/322","id":43952648,"html_url":"https://github.com/krb5/krb5/pull/322","diff_url":"https://github.com/krb5/krb5/pull/322.diff","patch_url":"https://github.com/krb5/krb5/pull/322.patch","issue_url":"https://api.github.com/repos/krb5/krb5/issues/322","number":322,"state":"closed","locked":false,"title":"Fix error handling in gss_export_sec_context()","user":{"login":"greghudson","id":1131421,"avatar_url":"https://avatars.githubusercontent.com/u/1131421?v=3","gravatar_id":"","url":"https://api.github.com/users/greghudson","html_url":"https://github.com/greghudson","followers_url":"https://api.github.com/users/greghudson/followers","following_url":"https://api.github.com/users/greghudson/following{/other_user}","gists_url":"https://api.github.com/users/greghudson/gists{/gist_id}","starred_url":"https://api.github.com/users/greghudson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/greghudson/subscriptions","organizations_url":"https://api.github.com/users/greghudson/orgs","repos_url":"https://api.github.com/users/greghudson/repos","events_url":"https://api.github.com/users/greghudson/events{/privacy}","received_events_url":"https://api.github.com/users/greghudson/received_events","type":"User","site_admin":false},"body":"In the mechglue gss_export_sec_context(), make sure to delete the\r\nunion context if the underlying mech context has been deleted.  This\r\ncan happen if the mech's gss_export_sec_context() returns a failure\r\nand deletes the context (not a behavior exhibited by any of our\r\nin-tree mechanisms, but an allowed behavior for other mechs), or if we\r\nfail to allocate space for the wrapped token.\r\n","created_at":"2015-09-02T04:20:43Z","updated_at":"2015-09-14T23:53:19Z","closed_at":"2015-09-14T23:53:19Z","merged_at":null,"merge_commit_sha":"1e9e2b1484db7fbc84aa4ad7fd4bee11b11f8f68","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/krb5/krb5/pulls/322/commits","review_comments_url":"https://api.github.com/repos/krb5/krb5/pulls/322/comments","review_comment_url":"https://api.github.com/repos/krb5/krb5/pulls/comments{/number}","comments_url":"https://api.github.com/repos/krb5/krb5/issues/322/comments","statuses_url":"https://api.github.com/repos/krb5/krb5/statuses/9041a04cc55859336a5d2ca17572fcc5980475e1","head":{"label":"greghudson:export_err","ref":"export_err","sha":"9041a04cc55859336a5d2ca17572fcc5980475e1","user":{"login":"greghudson","id":1131421,"avatar_url":"https://avatars.githubusercontent.com/u/1131421?v=3","gravatar_id":"","url":"https://api.github.com/users/greghudson","html_url":"https://github.com/greghudson","followers_url":"https://api.github.com/users/greghudson/followers","following_url":"https://api.github.com/users/greghudson/following{/other_user}","gists_url":"https://api.github.com/users/greghudson/gists{/gist_id}","starred_url":"https://api.github.com/users/greghudson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/greghudson/subscriptions","organizations_url":"https://api.github.com/users/greghudson/orgs","repos_url":"https://api.github.com/users/greghudson/repos","events_url":"https://api.github.com/users/greghudson/events{/privacy}","received_events_url":"https://api.github.com/users/greghudson/received_events","type":"User","site_admin":false},"repo":{"id":4423904,"name":"krb5","full_name":"greghudson/krb5","owner":{"login":"greghudson","id":1131421,"avatar_url":"https://avatars.githubusercontent.com/u/1131421?v=3","gravatar_id":"","url":"https://api.github.com/users/greghudson","html_url":"https://github.com/greghudson","followers_url":"https://api.github.com/users/greghudson/followers","following_url":"https://api.github.com/users/greghudson/following{/other_user}","gists_url":"https://api.github.com/users/greghudson/gists{/gist_id}","starred_url":"https://api.github.com/users/greghudson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/greghudson/subscriptions","organizations_url":"https://api.github.com/users/greghudson/orgs","repos_url":"https://api.github.com/users/greghudson/repos","events_url":"https://api.github.com/users/greghudson/events{/privacy}","received_events_url":"https://api.github.com/users/greghudson/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/greghudson/krb5","description":"mirror of MIT krb5 repository","fork":true,"url":"https://api.github.com/repos/greghudson/krb5","forks_url":"https://api.github.com/repos/greghudson/krb5/forks","keys_url":"https://api.github.com/repos/greghudson/krb5/keys{/key_id}","collaborators_url":"https://api.github.com/repos/greghudson/krb5/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/greghudson/krb5/teams","hooks_url":"https://api.github.com/repos/greghudson/krb5/hooks","issue_events_url":"https://api.github.com/repos/greghudson/krb5/issues/events{/number}","events_url":"https://api.github.com/repos/greghudson/krb5/events","assignees_url":"https://api.github.com/repos/greghudson/krb5/assignees{/user}","branches_url":"https://api.github.com/repos/greghudson/krb5/branches{/branch}","tags_url":"https://api.github.com/repos/greghudson/krb5/tags","blobs_url":"https://api.github.com/repos/greghudson/krb5/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/greghudson/krb5/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/greghudson/krb5/git/refs{/sha}","trees_url":"https://api.github.com/repos/greghudson/krb5/git/trees{/sha}","statuses_url":"https://api.github.com/repos/greghudson/krb5/statuses/{sha}","languages_url":"https://api.github.com/repos/greghudson/krb5/languages","stargazers_url":"https://api.github.com/repos/greghudson/krb5/stargazers","contributors_url":"https://api.github.com/repos/greghudson/krb5/contributors","subscribers_url":"https://api.github.com/repos/greghudson/krb5/subscribers","subscription_url":"https://api.github.com/repos/greghudson/krb5/subscription","commits_url":"https://api.github.com/repos/greghudson/krb5/commits{/sha}","git_commits_url":"https://api.github.com/repos/greghudson/krb5/git/commits{/sha}","comments_url":"https://api.github.com/repos/greghudson/krb5/comments{/number}","issue_comment_url":"https://api.github.com/repos/greghudson/krb5/issues/comments{/number}","contents_url":"https://api.github.com/repos/greghudson/krb5/contents/{+path}","compare_url":"https://api.github.com/repos/greghudson/krb5/compare/{base}...{head}","merges_url":"https://api.github.com/repos/greghudson/krb5/merges","archive_url":"https://api.github.com/repos/greghudson/krb5/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/greghudson/krb5/downloads","issues_url":"https://api.github.com/repos/greghudson/krb5/issues{/number}","pulls_url":"https://api.github.com/repos/greghudson/krb5/pulls{/number}","milestones_url":"https://api.github.com/repos/greghudson/krb5/milestones{/number}","notifications_url":"https://api.github.com/repos/greghudson/krb5/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/greghudson/krb5/labels{/name}","releases_url":"https://api.github.com/repos/greghudson/krb5/releases{/id}","created_at":"2012-05-23T18:43:39Z","updated_at":"2015-01-06T02:06:38Z","pushed_at":"2015-09-14T23:44:20Z","git_url":"git://github.com/greghudson/krb5.git","ssh_url":"git@github.com:greghudson/krb5.git","clone_url":"https://github.com/greghudson/krb5.git","svn_url":"https://github.com/greghudson/krb5","homepage":null,"size":60718,"stargazers_count":3,"watchers_count":3,"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":3,"default_branch":"master"}},"base":{"label":"krb5:master","ref":"master","sha":"3fdf09ac9a36581b47f40c9d177e463cc12687ff","user":{"login":"krb5","id":523797,"avatar_url":"https://avatars.githubusercontent.com/u/523797?v=3","gravatar_id":"","url":"https://api.github.com/users/krb5","html_url":"https://github.com/krb5","followers_url":"https://api.github.com/users/krb5/followers","following_url":"https://api.github.com/users/krb5/following{/other_user}","gists_url":"https://api.github.com/users/krb5/gists{/gist_id}","starred_url":"https://api.github.com/users/krb5/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/krb5/subscriptions","organizations_url":"https://api.github.com/users/krb5/orgs","repos_url":"https://api.github.com/users/krb5/repos","events_url":"https://api.github.com/users/krb5/events{/privacy}","received_events_url":"https://api.github.com/users/krb5/received_events","type":"Organization","site_admin":false},"repo":{"id":4307702,"name":"krb5","full_name":"krb5/krb5","owner":{"login":"krb5","id":523797,"avatar_url":"https://avatars.githubusercontent.com/u/523797?v=3","gravatar_id":"","url":"https://api.github.com/users/krb5","html_url":"https://github.com/krb5","followers_url":"https://api.github.com/users/krb5/followers","following_url":"https://api.github.com/users/krb5/following{/other_user}","gists_url":"https://api.github.com/users/krb5/gists{/gist_id}","starred_url":"https://api.github.com/users/krb5/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/krb5/subscriptions","organizations_url":"https://api.github.com/users/krb5/orgs","repos_url":"https://api.github.com/users/krb5/repos","events_url":"https://api.github.com/users/krb5/events{/privacy}","received_events_url":"https://api.github.com/users/krb5/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/krb5/krb5","description":"mirror of MIT krb5 repository","fork":false,"url":"https://api.github.com/repos/krb5/krb5","forks_url":"https://api.github.com/repos/krb5/krb5/forks","keys_url":"https://api.github.com/repos/krb5/krb5/keys{/key_id}","collaborators_url":"https://api.github.com/repos/krb5/krb5/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/krb5/krb5/teams","hooks_url":"https://api.github.com/repos/krb5/krb5/hooks","issue_events_url":"https://api.github.com/repos/krb5/krb5/issues/events{/number}","events_url":"https://api.github.com/repos/krb5/krb5/events","assignees_url":"https://api.github.com/repos/krb5/krb5/assignees{/user}","branches_url":"https://api.github.com/repos/krb5/krb5/branches{/branch}","tags_url":"https://api.github.com/repos/krb5/krb5/tags","blobs_url":"https://api.github.com/repos/krb5/krb5/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/krb5/krb5/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/krb5/krb5/git/refs{/sha}","trees_url":"https://api.github.com/repos/krb5/krb5/git/trees{/sha}","statuses_url":"https://api.github.com/repos/krb5/krb5/statuses/{sha}","languages_url":"https://api.github.com/repos/krb5/krb5/languages","stargazers_url":"https://api.github.com/repos/krb5/krb5/stargazers","contributors_url":"https://api.github.com/repos/krb5/krb5/contributors","subscribers_url":"https://api.github.com/repos/krb5/krb5/subscribers","subscription_url":"https://api.github.com/repos/krb5/krb5/subscription","commits_url":"https://api.github.com/repos/krb5/krb5/commits{/sha}","git_commits_url":"https://api.github.com/repos/krb5/krb5/git/commits{/sha}","comments_url":"https://api.github.com/repos/krb5/krb5/comments{/number}","issue_comment_url":"https://api.github.com/repos/krb5/krb5/issues/comments{/number}","contents_url":"https://api.github.com/repos/krb5/krb5/contents/{+path}","compare_url":"https://api.github.com/repos/krb5/krb5/compare/{base}...{head}","merges_url":"https://api.github.com/repos/krb5/krb5/merges","archive_url":"https://api.github.com/repos/krb5/krb5/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/krb5/krb5/downloads","issues_url":"https://api.github.com/repos/krb5/krb5/issues{/number}","pulls_url":"https://api.github.com/repos/krb5/krb5/pulls{/number}","milestones_url":"https://api.github.com/repos/krb5/krb5/milestones{/number}","notifications_url":"https://api.github.com/repos/krb5/krb5/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/krb5/krb5/labels{/name}","releases_url":"https://api.github.com/repos/krb5/krb5/releases{/id}","created_at":"2012-05-12T16:01:32Z","updated_at":"2015-08-19T10:01:57Z","pushed_at":"2015-09-14T23:51:59Z","git_url":"git://github.com/krb5/krb5.git","ssh_url":"git@github.com:krb5/krb5.git","clone_url":"https://github.com/krb5/krb5.git","svn_url":"https://github.com/krb5/krb5","homepage":null,"size":102608,"stargazers_count":75,"watchers_count":75,"language":"C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":92,"mirror_url":null,"open_issues_count":8,"forks":92,"open_issues":8,"watchers":75,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/krb5/krb5/pulls/322"},"html":{"href":"https://github.com/krb5/krb5/pull/322"},"issue":{"href":"https://api.github.com/repos/krb5/krb5/issues/322"},"comments":{"href":"https://api.github.com/repos/krb5/krb5/issues/322/comments"},"review_comments":{"href":"https://api.github.com/repos/krb5/krb5/pulls/322/comments"},"review_comment":{"href":"https://api.github.com/repos/krb5/krb5/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/krb5/krb5/pulls/322/commits"},"statuses":{"href":"https://api.github.com/repos/krb5/krb5/statuses/9041a04cc55859336a5d2ca17572fcc5980475e1"}},"merged":false,"mergeable":false,"mergeable_state":"dirty","merged_by":null,"comments":1,"review_comments":0,"commits":1,"additions":17,"deletions":13,"changed_files":1}}