{"action":"opened","number":2,"pull_request":{"url":"https://api.github.com/repos/saintienn/go-spamc/pulls/2","id":40319806,"html_url":"https://github.com/saintienn/go-spamc/pull/2","diff_url":"https://github.com/saintienn/go-spamc/pull/2.diff","patch_url":"https://github.com/saintienn/go-spamc/pull/2.patch","issue_url":"https://api.github.com/repos/saintienn/go-spamc/issues/2","number":2,"state":"open","locked":false,"title":"Prevent 'slice bounds out of range' in client.processResponse","user":{"login":"Freeaqingme","id":33034,"avatar_url":"https://avatars.githubusercontent.com/u/33034?v=3","gravatar_id":"","url":"https://api.github.com/users/Freeaqingme","html_url":"https://github.com/Freeaqingme","followers_url":"https://api.github.com/users/Freeaqingme/followers","following_url":"https://api.github.com/users/Freeaqingme/following{/other_user}","gists_url":"https://api.github.com/users/Freeaqingme/gists{/gist_id}","starred_url":"https://api.github.com/users/Freeaqingme/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Freeaqingme/subscriptions","organizations_url":"https://api.github.com/users/Freeaqingme/orgs","repos_url":"https://api.github.com/users/Freeaqingme/repos","events_url":"https://api.github.com/users/Freeaqingme/events{/privacy}","received_events_url":"https://api.github.com/users/Freeaqingme/received_events","type":"User","site_admin":false},"body":"I was really happy when I found this repo. However, testing it (and my own) code in production I found a case that results in the occasional panic. This PR should fix that.","created_at":"2015-07-20T02:08:04Z","updated_at":"2015-07-20T02:08:04Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/saintienn/go-spamc/pulls/2/commits","review_comments_url":"https://api.github.com/repos/saintienn/go-spamc/pulls/2/comments","review_comment_url":"https://api.github.com/repos/saintienn/go-spamc/pulls/comments{/number}","comments_url":"https://api.github.com/repos/saintienn/go-spamc/issues/2/comments","statuses_url":"https://api.github.com/repos/saintienn/go-spamc/statuses/7169eafd5a99b6d7755cf9a513a9303106f9ff2f","head":{"label":"Freeaqingme:master","ref":"master","sha":"7169eafd5a99b6d7755cf9a513a9303106f9ff2f","user":{"login":"Freeaqingme","id":33034,"avatar_url":"https://avatars.githubusercontent.com/u/33034?v=3","gravatar_id":"","url":"https://api.github.com/users/Freeaqingme","html_url":"https://github.com/Freeaqingme","followers_url":"https://api.github.com/users/Freeaqingme/followers","following_url":"https://api.github.com/users/Freeaqingme/following{/other_user}","gists_url":"https://api.github.com/users/Freeaqingme/gists{/gist_id}","starred_url":"https://api.github.com/users/Freeaqingme/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Freeaqingme/subscriptions","organizations_url":"https://api.github.com/users/Freeaqingme/orgs","repos_url":"https://api.github.com/users/Freeaqingme/repos","events_url":"https://api.github.com/users/Freeaqingme/events{/privacy}","received_events_url":"https://api.github.com/users/Freeaqingme/received_events","type":"User","site_admin":false},"repo":{"id":36949027,"name":"go-spamc","full_name":"Freeaqingme/go-spamc","owner":{"login":"Freeaqingme","id":33034,"avatar_url":"https://avatars.githubusercontent.com/u/33034?v=3","gravatar_id":"","url":"https://api.github.com/users/Freeaqingme","html_url":"https://github.com/Freeaqingme","followers_url":"https://api.github.com/users/Freeaqingme/followers","following_url":"https://api.github.com/users/Freeaqingme/following{/other_user}","gists_url":"https://api.github.com/users/Freeaqingme/gists{/gist_id}","starred_url":"https://api.github.com/users/Freeaqingme/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Freeaqingme/subscriptions","organizations_url":"https://api.github.com/users/Freeaqingme/orgs","repos_url":"https://api.github.com/users/Freeaqingme/repos","events_url":"https://api.github.com/users/Freeaqingme/events{/privacy}","received_events_url":"https://api.github.com/users/Freeaqingme/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Freeaqingme/go-spamc","description":"a package to connect to spamassassin spamd daemon and process requests via golang","fork":true,"url":"https://api.github.com/repos/Freeaqingme/go-spamc","forks_url":"https://api.github.com/repos/Freeaqingme/go-spamc/forks","keys_url":"https://api.github.com/repos/Freeaqingme/go-spamc/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Freeaqingme/go-spamc/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Freeaqingme/go-spamc/teams","hooks_url":"https://api.github.com/repos/Freeaqingme/go-spamc/hooks","issue_events_url":"https://api.github.com/repos/Freeaqingme/go-spamc/issues/events{/number}","events_url":"https://api.github.com/repos/Freeaqingme/go-spamc/events","assignees_url":"https://api.github.com/repos/Freeaqingme/go-spamc/assignees{/user}","branches_url":"https://api.github.com/repos/Freeaqingme/go-spamc/branches{/branch}","tags_url":"https://api.github.com/repos/Freeaqingme/go-spamc/tags","blobs_url":"https://api.github.com/repos/Freeaqingme/go-spamc/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Freeaqingme/go-spamc/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Freeaqingme/go-spamc/git/refs{/sha}","trees_url":"https://api.github.com/repos/Freeaqingme/go-spamc/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Freeaqingme/go-spamc/statuses/{sha}","languages_url":"https://api.github.com/repos/Freeaqingme/go-spamc/languages","stargazers_url":"https://api.github.com/repos/Freeaqingme/go-spamc/stargazers","contributors_url":"https://api.github.com/repos/Freeaqingme/go-spamc/contributors","subscribers_url":"https://api.github.com/repos/Freeaqingme/go-spamc/subscribers","subscription_url":"https://api.github.com/repos/Freeaqingme/go-spamc/subscription","commits_url":"https://api.github.com/repos/Freeaqingme/go-spamc/commits{/sha}","git_commits_url":"https://api.github.com/repos/Freeaqingme/go-spamc/git/commits{/sha}","comments_url":"https://api.github.com/repos/Freeaqingme/go-spamc/comments{/number}","issue_comment_url":"https://api.github.com/repos/Freeaqingme/go-spamc/issues/comments{/number}","contents_url":"https://api.github.com/repos/Freeaqingme/go-spamc/contents/{+path}","compare_url":"https://api.github.com/repos/Freeaqingme/go-spamc/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Freeaqingme/go-spamc/merges","archive_url":"https://api.github.com/repos/Freeaqingme/go-spamc/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Freeaqingme/go-spamc/downloads","issues_url":"https://api.github.com/repos/Freeaqingme/go-spamc/issues{/number}","pulls_url":"https://api.github.com/repos/Freeaqingme/go-spamc/pulls{/number}","milestones_url":"https://api.github.com/repos/Freeaqingme/go-spamc/milestones{/number}","notifications_url":"https://api.github.com/repos/Freeaqingme/go-spamc/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Freeaqingme/go-spamc/labels{/name}","releases_url":"https://api.github.com/repos/Freeaqingme/go-spamc/releases{/id}","created_at":"2015-06-05T18:38:21Z","updated_at":"2015-06-05T18:38:21Z","pushed_at":"2015-07-20T02:06:02Z","git_url":"git://github.com/Freeaqingme/go-spamc.git","ssh_url":"git@github.com:Freeaqingme/go-spamc.git","clone_url":"https://github.com/Freeaqingme/go-spamc.git","svn_url":"https://github.com/Freeaqingme/go-spamc","homepage":"","size":168,"stargazers_count":0,"watchers_count":0,"language":"Go","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":"saintienn:master","ref":"master","sha":"335a89337febdd74d46550afca70941af5ea4e41","user":{"login":"saintienn","id":781338,"avatar_url":"https://avatars.githubusercontent.com/u/781338?v=3","gravatar_id":"","url":"https://api.github.com/users/saintienn","html_url":"https://github.com/saintienn","followers_url":"https://api.github.com/users/saintienn/followers","following_url":"https://api.github.com/users/saintienn/following{/other_user}","gists_url":"https://api.github.com/users/saintienn/gists{/gist_id}","starred_url":"https://api.github.com/users/saintienn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/saintienn/subscriptions","organizations_url":"https://api.github.com/users/saintienn/orgs","repos_url":"https://api.github.com/users/saintienn/repos","events_url":"https://api.github.com/users/saintienn/events{/privacy}","received_events_url":"https://api.github.com/users/saintienn/received_events","type":"User","site_admin":false},"repo":{"id":13353564,"name":"go-spamc","full_name":"saintienn/go-spamc","owner":{"login":"saintienn","id":781338,"avatar_url":"https://avatars.githubusercontent.com/u/781338?v=3","gravatar_id":"","url":"https://api.github.com/users/saintienn","html_url":"https://github.com/saintienn","followers_url":"https://api.github.com/users/saintienn/followers","following_url":"https://api.github.com/users/saintienn/following{/other_user}","gists_url":"https://api.github.com/users/saintienn/gists{/gist_id}","starred_url":"https://api.github.com/users/saintienn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/saintienn/subscriptions","organizations_url":"https://api.github.com/users/saintienn/orgs","repos_url":"https://api.github.com/users/saintienn/repos","events_url":"https://api.github.com/users/saintienn/events{/privacy}","received_events_url":"https://api.github.com/users/saintienn/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/saintienn/go-spamc","description":"a package to connect to spamassassin spamd daemon and process requests via golang","fork":true,"url":"https://api.github.com/repos/saintienn/go-spamc","forks_url":"https://api.github.com/repos/saintienn/go-spamc/forks","keys_url":"https://api.github.com/repos/saintienn/go-spamc/keys{/key_id}","collaborators_url":"https://api.github.com/repos/saintienn/go-spamc/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/saintienn/go-spamc/teams","hooks_url":"https://api.github.com/repos/saintienn/go-spamc/hooks","issue_events_url":"https://api.github.com/repos/saintienn/go-spamc/issues/events{/number}","events_url":"https://api.github.com/repos/saintienn/go-spamc/events","assignees_url":"https://api.github.com/repos/saintienn/go-spamc/assignees{/user}","branches_url":"https://api.github.com/repos/saintienn/go-spamc/branches{/branch}","tags_url":"https://api.github.com/repos/saintienn/go-spamc/tags","blobs_url":"https://api.github.com/repos/saintienn/go-spamc/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/saintienn/go-spamc/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/saintienn/go-spamc/git/refs{/sha}","trees_url":"https://api.github.com/repos/saintienn/go-spamc/git/trees{/sha}","statuses_url":"https://api.github.com/repos/saintienn/go-spamc/statuses/{sha}","languages_url":"https://api.github.com/repos/saintienn/go-spamc/languages","stargazers_url":"https://api.github.com/repos/saintienn/go-spamc/stargazers","contributors_url":"https://api.github.com/repos/saintienn/go-spamc/contributors","subscribers_url":"https://api.github.com/repos/saintienn/go-spamc/subscribers","subscription_url":"https://api.github.com/repos/saintienn/go-spamc/subscription","commits_url":"https://api.github.com/repos/saintienn/go-spamc/commits{/sha}","git_commits_url":"https://api.github.com/repos/saintienn/go-spamc/git/commits{/sha}","comments_url":"https://api.github.com/repos/saintienn/go-spamc/comments{/number}","issue_comment_url":"https://api.github.com/repos/saintienn/go-spamc/issues/comments{/number}","contents_url":"https://api.github.com/repos/saintienn/go-spamc/contents/{+path}","compare_url":"https://api.github.com/repos/saintienn/go-spamc/compare/{base}...{head}","merges_url":"https://api.github.com/repos/saintienn/go-spamc/merges","archive_url":"https://api.github.com/repos/saintienn/go-spamc/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/saintienn/go-spamc/downloads","issues_url":"https://api.github.com/repos/saintienn/go-spamc/issues{/number}","pulls_url":"https://api.github.com/repos/saintienn/go-spamc/pulls{/number}","milestones_url":"https://api.github.com/repos/saintienn/go-spamc/milestones{/number}","notifications_url":"https://api.github.com/repos/saintienn/go-spamc/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/saintienn/go-spamc/labels{/name}","releases_url":"https://api.github.com/repos/saintienn/go-spamc/releases{/id}","created_at":"2013-10-05T22:24:17Z","updated_at":"2015-06-05T18:33:06Z","pushed_at":"2015-05-19T22:54:04Z","git_url":"git://github.com/saintienn/go-spamc.git","ssh_url":"git@github.com:saintienn/go-spamc.git","clone_url":"https://github.com/saintienn/go-spamc.git","svn_url":"https://github.com/saintienn/go-spamc","homepage":"","size":168,"stargazers_count":6,"watchers_count":6,"language":"Go","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":2,"forks":3,"open_issues":2,"watchers":6,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/saintienn/go-spamc/pulls/2"},"html":{"href":"https://github.com/saintienn/go-spamc/pull/2"},"issue":{"href":"https://api.github.com/repos/saintienn/go-spamc/issues/2"},"comments":{"href":"https://api.github.com/repos/saintienn/go-spamc/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/saintienn/go-spamc/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/saintienn/go-spamc/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/saintienn/go-spamc/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/saintienn/go-spamc/statuses/7169eafd5a99b6d7755cf9a513a9303106f9ff2f"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":1,"deletions":1,"changed_files":1}}