{"action":"opened","number":1,"pull_request":{"url":"https://api.github.com/repos/balbinus/icecast-kh/pulls/1","id":56043301,"html_url":"https://github.com/balbinus/icecast-kh/pull/1","diff_url":"https://github.com/balbinus/icecast-kh/pull/1.diff","patch_url":"https://github.com/balbinus/icecast-kh/pull/1.patch","issue_url":"https://api.github.com/repos/balbinus/icecast-kh/issues/1","number":1,"state":"open","locked":false,"title":"Fix setresgid() (gid not uid)","user":{"login":"balbinus","id":195254,"avatar_url":"https://avatars.githubusercontent.com/u/195254?v=3","gravatar_id":"","url":"https://api.github.com/users/balbinus","html_url":"https://github.com/balbinus","followers_url":"https://api.github.com/users/balbinus/followers","following_url":"https://api.github.com/users/balbinus/following{/other_user}","gists_url":"https://api.github.com/users/balbinus/gists{/gist_id}","starred_url":"https://api.github.com/users/balbinus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/balbinus/subscriptions","organizations_url":"https://api.github.com/users/balbinus/orgs","repos_url":"https://api.github.com/users/balbinus/repos","events_url":"https://api.github.com/users/balbinus/events{/privacy}","received_events_url":"https://api.github.com/users/balbinus/received_events","type":"User","site_admin":false},"body":"Last commit on src/main.c apparently contains a typo, which makes Icecast request the user id given in the config file as its real/effective group id.\r\n\r\nExample in strace:\r\n    setgroups(1, [65534])                   = 0\r\n    fstat(1, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 1), ...}) = 0\r\n   mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fa41b825000\r\n    write(1, \"Changed supplementary groups bas\"..., 54) = 54\r\n    setresgid(110, 110, 110)                = 0\r\n    write(1, \"Changed groupid to 65534.\\n\", 26) = 26\r\n    setresuid(110, 110, 110)                = 0\r\n    write(1, \"Changed userid to 110.\\n\", 23) = 23\r\n","created_at":"2016-01-14T14:44:33Z","updated_at":"2016-01-14T14:44:33Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/balbinus/icecast-kh/pulls/1/commits","review_comments_url":"https://api.github.com/repos/balbinus/icecast-kh/pulls/1/comments","review_comment_url":"https://api.github.com/repos/balbinus/icecast-kh/pulls/comments{/number}","comments_url":"https://api.github.com/repos/balbinus/icecast-kh/issues/1/comments","statuses_url":"https://api.github.com/repos/balbinus/icecast-kh/statuses/814d27a6169802bff95d63157269ef2f15083177","head":{"label":"balbinus:balbinus-patch-setresgid","ref":"balbinus-patch-setresgid","sha":"814d27a6169802bff95d63157269ef2f15083177","user":{"login":"balbinus","id":195254,"avatar_url":"https://avatars.githubusercontent.com/u/195254?v=3","gravatar_id":"","url":"https://api.github.com/users/balbinus","html_url":"https://github.com/balbinus","followers_url":"https://api.github.com/users/balbinus/followers","following_url":"https://api.github.com/users/balbinus/following{/other_user}","gists_url":"https://api.github.com/users/balbinus/gists{/gist_id}","starred_url":"https://api.github.com/users/balbinus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/balbinus/subscriptions","organizations_url":"https://api.github.com/users/balbinus/orgs","repos_url":"https://api.github.com/users/balbinus/repos","events_url":"https://api.github.com/users/balbinus/events{/privacy}","received_events_url":"https://api.github.com/users/balbinus/received_events","type":"User","site_admin":false},"repo":{"id":49652882,"name":"icecast-kh","full_name":"balbinus/icecast-kh","owner":{"login":"balbinus","id":195254,"avatar_url":"https://avatars.githubusercontent.com/u/195254?v=3","gravatar_id":"","url":"https://api.github.com/users/balbinus","html_url":"https://github.com/balbinus","followers_url":"https://api.github.com/users/balbinus/followers","following_url":"https://api.github.com/users/balbinus/following{/other_user}","gists_url":"https://api.github.com/users/balbinus/gists{/gist_id}","starred_url":"https://api.github.com/users/balbinus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/balbinus/subscriptions","organizations_url":"https://api.github.com/users/balbinus/orgs","repos_url":"https://api.github.com/users/balbinus/repos","events_url":"https://api.github.com/users/balbinus/events{/privacy}","received_events_url":"https://api.github.com/users/balbinus/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/balbinus/icecast-kh","description":"KH branch of icecast","fork":true,"url":"https://api.github.com/repos/balbinus/icecast-kh","forks_url":"https://api.github.com/repos/balbinus/icecast-kh/forks","keys_url":"https://api.github.com/repos/balbinus/icecast-kh/keys{/key_id}","collaborators_url":"https://api.github.com/repos/balbinus/icecast-kh/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/balbinus/icecast-kh/teams","hooks_url":"https://api.github.com/repos/balbinus/icecast-kh/hooks","issue_events_url":"https://api.github.com/repos/balbinus/icecast-kh/issues/events{/number}","events_url":"https://api.github.com/repos/balbinus/icecast-kh/events","assignees_url":"https://api.github.com/repos/balbinus/icecast-kh/assignees{/user}","branches_url":"https://api.github.com/repos/balbinus/icecast-kh/branches{/branch}","tags_url":"https://api.github.com/repos/balbinus/icecast-kh/tags","blobs_url":"https://api.github.com/repos/balbinus/icecast-kh/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/balbinus/icecast-kh/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/balbinus/icecast-kh/git/refs{/sha}","trees_url":"https://api.github.com/repos/balbinus/icecast-kh/git/trees{/sha}","statuses_url":"https://api.github.com/repos/balbinus/icecast-kh/statuses/{sha}","languages_url":"https://api.github.com/repos/balbinus/icecast-kh/languages","stargazers_url":"https://api.github.com/repos/balbinus/icecast-kh/stargazers","contributors_url":"https://api.github.com/repos/balbinus/icecast-kh/contributors","subscribers_url":"https://api.github.com/repos/balbinus/icecast-kh/subscribers","subscription_url":"https://api.github.com/repos/balbinus/icecast-kh/subscription","commits_url":"https://api.github.com/repos/balbinus/icecast-kh/commits{/sha}","git_commits_url":"https://api.github.com/repos/balbinus/icecast-kh/git/commits{/sha}","comments_url":"https://api.github.com/repos/balbinus/icecast-kh/comments{/number}","issue_comment_url":"https://api.github.com/repos/balbinus/icecast-kh/issues/comments{/number}","contents_url":"https://api.github.com/repos/balbinus/icecast-kh/contents/{+path}","compare_url":"https://api.github.com/repos/balbinus/icecast-kh/compare/{base}...{head}","merges_url":"https://api.github.com/repos/balbinus/icecast-kh/merges","archive_url":"https://api.github.com/repos/balbinus/icecast-kh/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/balbinus/icecast-kh/downloads","issues_url":"https://api.github.com/repos/balbinus/icecast-kh/issues{/number}","pulls_url":"https://api.github.com/repos/balbinus/icecast-kh/pulls{/number}","milestones_url":"https://api.github.com/repos/balbinus/icecast-kh/milestones{/number}","notifications_url":"https://api.github.com/repos/balbinus/icecast-kh/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/balbinus/icecast-kh/labels{/name}","releases_url":"https://api.github.com/repos/balbinus/icecast-kh/releases{/id}","created_at":"2016-01-14T14:40:25Z","updated_at":"2016-01-14T14:40:26Z","pushed_at":"2016-01-14T14:41:53Z","git_url":"git://github.com/balbinus/icecast-kh.git","ssh_url":"git@github.com:balbinus/icecast-kh.git","clone_url":"https://github.com/balbinus/icecast-kh.git","svn_url":"https://github.com/balbinus/icecast-kh","homepage":"","size":2658,"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":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"balbinus:master","ref":"master","sha":"ffa563d1b75fda1ea0bb2b85c2f1640df2b68eff","user":{"login":"balbinus","id":195254,"avatar_url":"https://avatars.githubusercontent.com/u/195254?v=3","gravatar_id":"","url":"https://api.github.com/users/balbinus","html_url":"https://github.com/balbinus","followers_url":"https://api.github.com/users/balbinus/followers","following_url":"https://api.github.com/users/balbinus/following{/other_user}","gists_url":"https://api.github.com/users/balbinus/gists{/gist_id}","starred_url":"https://api.github.com/users/balbinus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/balbinus/subscriptions","organizations_url":"https://api.github.com/users/balbinus/orgs","repos_url":"https://api.github.com/users/balbinus/repos","events_url":"https://api.github.com/users/balbinus/events{/privacy}","received_events_url":"https://api.github.com/users/balbinus/received_events","type":"User","site_admin":false},"repo":{"id":49652882,"name":"icecast-kh","full_name":"balbinus/icecast-kh","owner":{"login":"balbinus","id":195254,"avatar_url":"https://avatars.githubusercontent.com/u/195254?v=3","gravatar_id":"","url":"https://api.github.com/users/balbinus","html_url":"https://github.com/balbinus","followers_url":"https://api.github.com/users/balbinus/followers","following_url":"https://api.github.com/users/balbinus/following{/other_user}","gists_url":"https://api.github.com/users/balbinus/gists{/gist_id}","starred_url":"https://api.github.com/users/balbinus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/balbinus/subscriptions","organizations_url":"https://api.github.com/users/balbinus/orgs","repos_url":"https://api.github.com/users/balbinus/repos","events_url":"https://api.github.com/users/balbinus/events{/privacy}","received_events_url":"https://api.github.com/users/balbinus/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/balbinus/icecast-kh","description":"KH branch of icecast","fork":true,"url":"https://api.github.com/repos/balbinus/icecast-kh","forks_url":"https://api.github.com/repos/balbinus/icecast-kh/forks","keys_url":"https://api.github.com/repos/balbinus/icecast-kh/keys{/key_id}","collaborators_url":"https://api.github.com/repos/balbinus/icecast-kh/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/balbinus/icecast-kh/teams","hooks_url":"https://api.github.com/repos/balbinus/icecast-kh/hooks","issue_events_url":"https://api.github.com/repos/balbinus/icecast-kh/issues/events{/number}","events_url":"https://api.github.com/repos/balbinus/icecast-kh/events","assignees_url":"https://api.github.com/repos/balbinus/icecast-kh/assignees{/user}","branches_url":"https://api.github.com/repos/balbinus/icecast-kh/branches{/branch}","tags_url":"https://api.github.com/repos/balbinus/icecast-kh/tags","blobs_url":"https://api.github.com/repos/balbinus/icecast-kh/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/balbinus/icecast-kh/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/balbinus/icecast-kh/git/refs{/sha}","trees_url":"https://api.github.com/repos/balbinus/icecast-kh/git/trees{/sha}","statuses_url":"https://api.github.com/repos/balbinus/icecast-kh/statuses/{sha}","languages_url":"https://api.github.com/repos/balbinus/icecast-kh/languages","stargazers_url":"https://api.github.com/repos/balbinus/icecast-kh/stargazers","contributors_url":"https://api.github.com/repos/balbinus/icecast-kh/contributors","subscribers_url":"https://api.github.com/repos/balbinus/icecast-kh/subscribers","subscription_url":"https://api.github.com/repos/balbinus/icecast-kh/subscription","commits_url":"https://api.github.com/repos/balbinus/icecast-kh/commits{/sha}","git_commits_url":"https://api.github.com/repos/balbinus/icecast-kh/git/commits{/sha}","comments_url":"https://api.github.com/repos/balbinus/icecast-kh/comments{/number}","issue_comment_url":"https://api.github.com/repos/balbinus/icecast-kh/issues/comments{/number}","contents_url":"https://api.github.com/repos/balbinus/icecast-kh/contents/{+path}","compare_url":"https://api.github.com/repos/balbinus/icecast-kh/compare/{base}...{head}","merges_url":"https://api.github.com/repos/balbinus/icecast-kh/merges","archive_url":"https://api.github.com/repos/balbinus/icecast-kh/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/balbinus/icecast-kh/downloads","issues_url":"https://api.github.com/repos/balbinus/icecast-kh/issues{/number}","pulls_url":"https://api.github.com/repos/balbinus/icecast-kh/pulls{/number}","milestones_url":"https://api.github.com/repos/balbinus/icecast-kh/milestones{/number}","notifications_url":"https://api.github.com/repos/balbinus/icecast-kh/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/balbinus/icecast-kh/labels{/name}","releases_url":"https://api.github.com/repos/balbinus/icecast-kh/releases{/id}","created_at":"2016-01-14T14:40:25Z","updated_at":"2016-01-14T14:40:26Z","pushed_at":"2016-01-14T14:41:53Z","git_url":"git://github.com/balbinus/icecast-kh.git","ssh_url":"git@github.com:balbinus/icecast-kh.git","clone_url":"https://github.com/balbinus/icecast-kh.git","svn_url":"https://github.com/balbinus/icecast-kh","homepage":"","size":2658,"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":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/balbinus/icecast-kh/pulls/1"},"html":{"href":"https://github.com/balbinus/icecast-kh/pull/1"},"issue":{"href":"https://api.github.com/repos/balbinus/icecast-kh/issues/1"},"comments":{"href":"https://api.github.com/repos/balbinus/icecast-kh/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/balbinus/icecast-kh/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/balbinus/icecast-kh/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/balbinus/icecast-kh/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/balbinus/icecast-kh/statuses/814d27a6169802bff95d63157269ef2f15083177"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":1,"deletions":1,"changed_files":1}}