{"action":"created","issue":{"url":"https://api.github.com/repos/krb5/krb5/issues/295","labels_url":"https://api.github.com/repos/krb5/krb5/issues/295/labels{/name}","comments_url":"https://api.github.com/repos/krb5/krb5/issues/295/comments","events_url":"https://api.github.com/repos/krb5/krb5/issues/295/events","html_url":"https://github.com/krb5/krb5/pull/295","id":94825424,"number":295,"title":"Fix princflags memory management","user":{"login":"tlyu","id":431873,"avatar_url":"https://avatars.githubusercontent.com/u/431873?v=3","gravatar_id":"","url":"https://api.github.com/users/tlyu","html_url":"https://github.com/tlyu","followers_url":"https://api.github.com/users/tlyu/followers","following_url":"https://api.github.com/users/tlyu/following{/other_user}","gists_url":"https://api.github.com/users/tlyu/gists{/gist_id}","starred_url":"https://api.github.com/users/tlyu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tlyu/subscriptions","organizations_url":"https://api.github.com/users/tlyu/orgs","repos_url":"https://api.github.com/users/tlyu/repos","events_url":"https://api.github.com/users/tlyu/events{/privacy}","received_events_url":"https://api.github.com/users/tlyu/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-07-13T22:23:08Z","updated_at":"2015-07-16T23:10:18Z","closed_at":"2015-07-16T23:09:31Z","pull_request":{"url":"https://api.github.com/repos/krb5/krb5/pulls/295","html_url":"https://github.com/krb5/krb5/pull/295","diff_url":"https://github.com/krb5/krb5/pull/295.diff","patch_url":"https://github.com/krb5/krb5/pull/295.patch"},"body":"Fix some out of memory error cases (found by Coverity) that could\r\ncause multiple frees or freeing of invalid pointers.  In\r\nkrb5_flagnum_to_string(), don't assume that asprintf() stores a null\r\npointer on failure (it does in BSD but not in glibc).  In\r\nkrb5_flags_to_strings(), free the correct pointer in the cleanup loop\r\nin on error.\r\n\r\nticket: 8215"},"comment":{"url":"https://api.github.com/repos/krb5/krb5/issues/comments/122127377","html_url":"https://github.com/krb5/krb5/pull/295#issuecomment-122127377","issue_url":"https://api.github.com/repos/krb5/krb5/issues/295","id":122127377,"user":{"login":"tlyu","id":431873,"avatar_url":"https://avatars.githubusercontent.com/u/431873?v=3","gravatar_id":"","url":"https://api.github.com/users/tlyu","html_url":"https://github.com/tlyu","followers_url":"https://api.github.com/users/tlyu/followers","following_url":"https://api.github.com/users/tlyu/following{/other_user}","gists_url":"https://api.github.com/users/tlyu/gists{/gist_id}","starred_url":"https://api.github.com/users/tlyu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tlyu/subscriptions","organizations_url":"https://api.github.com/users/tlyu/orgs","repos_url":"https://api.github.com/users/tlyu/repos","events_url":"https://api.github.com/users/tlyu/events{/privacy}","received_events_url":"https://api.github.com/users/tlyu/received_events","type":"User","site_admin":false},"created_at":"2015-07-16T23:10:18Z","updated_at":"2015-07-16T23:10:18Z","body":"Pushed as commit dd5f948614b6662fc40dc8de3f567078cfe6295e"}}