{"action":"opened","number":15,"pull_request":{"url":"https://api.github.com/repos/libvirt/libvirt-go/pulls/15","id":114813477,"html_url":"https://github.com/libvirt/libvirt-go/pull/15","diff_url":"https://github.com/libvirt/libvirt-go/pull/15.diff","patch_url":"https://github.com/libvirt/libvirt-go/pull/15.patch","issue_url":"https://api.github.com/repos/libvirt/libvirt-go/issues/15","number":15,"state":"open","locked":false,"title":"domain: check address slice","user":{"login":"monstermunchkin","id":244787,"avatar_url":"https://avatars0.githubusercontent.com/u/244787?v=3","gravatar_id":"","url":"https://api.github.com/users/monstermunchkin","html_url":"https://github.com/monstermunchkin","followers_url":"https://api.github.com/users/monstermunchkin/followers","following_url":"https://api.github.com/users/monstermunchkin/following{/other_user}","gists_url":"https://api.github.com/users/monstermunchkin/gists{/gist_id}","starred_url":"https://api.github.com/users/monstermunchkin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/monstermunchkin/subscriptions","organizations_url":"https://api.github.com/users/monstermunchkin/orgs","repos_url":"https://api.github.com/users/monstermunchkin/repos","events_url":"https://api.github.com/users/monstermunchkin/events{/privacy}","received_events_url":"https://api.github.com/users/monstermunchkin/received_events","type":"User","site_admin":false},"body":"This fixes a NPE which happens if an element of addrSlice is nil. In\r\nthis case, the address will be an empty DomainIPAddress struct.\r\n\r\nThe NPE was noticed while trying to retrieve the interface addresses via\r\n\r\n```go\r\ndomain.ListAllInterfaceAddresses(uint(libvirt.DOMAIN_INTERFACE_ADDRESSES_SRC_AGENT))\r\n```\r\n\r\nSigned-off-by: Thomas Hipp <thipp@suse.de>","created_at":"2017-04-07T13:15:21Z","updated_at":"2017-04-07T13:15:21Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/libvirt/libvirt-go/pulls/15/commits","review_comments_url":"https://api.github.com/repos/libvirt/libvirt-go/pulls/15/comments","review_comment_url":"https://api.github.com/repos/libvirt/libvirt-go/pulls/comments{/number}","comments_url":"https://api.github.com/repos/libvirt/libvirt-go/issues/15/comments","statuses_url":"https://api.github.com/repos/libvirt/libvirt-go/statuses/803a70a6d92adbf2b201fff6d3aae64e97e9f4aa","head":{"label":"monstermunchkin:fix/npe-addrSlice","ref":"fix/npe-addrSlice","sha":"803a70a6d92adbf2b201fff6d3aae64e97e9f4aa","user":{"login":"monstermunchkin","id":244787,"avatar_url":"https://avatars0.githubusercontent.com/u/244787?v=3","gravatar_id":"","url":"https://api.github.com/users/monstermunchkin","html_url":"https://github.com/monstermunchkin","followers_url":"https://api.github.com/users/monstermunchkin/followers","following_url":"https://api.github.com/users/monstermunchkin/following{/other_user}","gists_url":"https://api.github.com/users/monstermunchkin/gists{/gist_id}","starred_url":"https://api.github.com/users/monstermunchkin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/monstermunchkin/subscriptions","organizations_url":"https://api.github.com/users/monstermunchkin/orgs","repos_url":"https://api.github.com/users/monstermunchkin/repos","events_url":"https://api.github.com/users/monstermunchkin/events{/privacy}","received_events_url":"https://api.github.com/users/monstermunchkin/received_events","type":"User","site_admin":false},"repo":{"id":87430991,"name":"libvirt-go","full_name":"monstermunchkin/libvirt-go","owner":{"login":"monstermunchkin","id":244787,"avatar_url":"https://avatars0.githubusercontent.com/u/244787?v=3","gravatar_id":"","url":"https://api.github.com/users/monstermunchkin","html_url":"https://github.com/monstermunchkin","followers_url":"https://api.github.com/users/monstermunchkin/followers","following_url":"https://api.github.com/users/monstermunchkin/following{/other_user}","gists_url":"https://api.github.com/users/monstermunchkin/gists{/gist_id}","starred_url":"https://api.github.com/users/monstermunchkin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/monstermunchkin/subscriptions","organizations_url":"https://api.github.com/users/monstermunchkin/orgs","repos_url":"https://api.github.com/users/monstermunchkin/repos","events_url":"https://api.github.com/users/monstermunchkin/events{/privacy}","received_events_url":"https://api.github.com/users/monstermunchkin/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/monstermunchkin/libvirt-go","description":" Automatic read-only mirror of http://libvirt.org/git/?p=libvirt-go.git;a=summary ","fork":true,"url":"https://api.github.com/repos/monstermunchkin/libvirt-go","forks_url":"https://api.github.com/repos/monstermunchkin/libvirt-go/forks","keys_url":"https://api.github.com/repos/monstermunchkin/libvirt-go/keys{/key_id}","collaborators_url":"https://api.github.com/repos/monstermunchkin/libvirt-go/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/monstermunchkin/libvirt-go/teams","hooks_url":"https://api.github.com/repos/monstermunchkin/libvirt-go/hooks","issue_events_url":"https://api.github.com/repos/monstermunchkin/libvirt-go/issues/events{/number}","events_url":"https://api.github.com/repos/monstermunchkin/libvirt-go/events","assignees_url":"https://api.github.com/repos/monstermunchkin/libvirt-go/assignees{/user}","branches_url":"https://api.github.com/repos/monstermunchkin/libvirt-go/branches{/branch}","tags_url":"https://api.github.com/repos/monstermunchkin/libvirt-go/tags","blobs_url":"https://api.github.com/repos/monstermunchkin/libvirt-go/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/monstermunchkin/libvirt-go/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/monstermunchkin/libvirt-go/git/refs{/sha}","trees_url":"https://api.github.com/repos/monstermunchkin/libvirt-go/git/trees{/sha}","statuses_url":"https://api.github.com/repos/monstermunchkin/libvirt-go/statuses/{sha}","languages_url":"https://api.github.com/repos/monstermunchkin/libvirt-go/languages","stargazers_url":"https://api.github.com/repos/monstermunchkin/libvirt-go/stargazers","contributors_url":"https://api.github.com/repos/monstermunchkin/libvirt-go/contributors","subscribers_url":"https://api.github.com/repos/monstermunchkin/libvirt-go/subscribers","subscription_url":"https://api.github.com/repos/monstermunchkin/libvirt-go/subscription","commits_url":"https://api.github.com/repos/monstermunchkin/libvirt-go/commits{/sha}","git_commits_url":"https://api.github.com/repos/monstermunchkin/libvirt-go/git/commits{/sha}","comments_url":"https://api.github.com/repos/monstermunchkin/libvirt-go/comments{/number}","issue_comment_url":"https://api.github.com/repos/monstermunchkin/libvirt-go/issues/comments{/number}","contents_url":"https://api.github.com/repos/monstermunchkin/libvirt-go/contents/{+path}","compare_url":"https://api.github.com/repos/monstermunchkin/libvirt-go/compare/{base}...{head}","merges_url":"https://api.github.com/repos/monstermunchkin/libvirt-go/merges","archive_url":"https://api.github.com/repos/monstermunchkin/libvirt-go/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/monstermunchkin/libvirt-go/downloads","issues_url":"https://api.github.com/repos/monstermunchkin/libvirt-go/issues{/number}","pulls_url":"https://api.github.com/repos/monstermunchkin/libvirt-go/pulls{/number}","milestones_url":"https://api.github.com/repos/monstermunchkin/libvirt-go/milestones{/number}","notifications_url":"https://api.github.com/repos/monstermunchkin/libvirt-go/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/monstermunchkin/libvirt-go/labels{/name}","releases_url":"https://api.github.com/repos/monstermunchkin/libvirt-go/releases{/id}","deployments_url":"https://api.github.com/repos/monstermunchkin/libvirt-go/deployments","created_at":"2017-04-06T13:12:08Z","updated_at":"2017-04-06T13:12:10Z","pushed_at":"2017-04-07T13:11:27Z","git_url":"git://github.com/monstermunchkin/libvirt-go.git","ssh_url":"git@github.com:monstermunchkin/libvirt-go.git","clone_url":"https://github.com/monstermunchkin/libvirt-go.git","svn_url":"https://github.com/monstermunchkin/libvirt-go","homepage":null,"size":665,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"has_projects":true,"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":"libvirt:master","ref":"master","sha":"6d8485c48e5a6b79b842084c244077bb832742cb","user":{"login":"libvirt","id":12560713,"avatar_url":"https://avatars0.githubusercontent.com/u/12560713?v=3","gravatar_id":"","url":"https://api.github.com/users/libvirt","html_url":"https://github.com/libvirt","followers_url":"https://api.github.com/users/libvirt/followers","following_url":"https://api.github.com/users/libvirt/following{/other_user}","gists_url":"https://api.github.com/users/libvirt/gists{/gist_id}","starred_url":"https://api.github.com/users/libvirt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/libvirt/subscriptions","organizations_url":"https://api.github.com/users/libvirt/orgs","repos_url":"https://api.github.com/users/libvirt/repos","events_url":"https://api.github.com/users/libvirt/events{/privacy}","received_events_url":"https://api.github.com/users/libvirt/received_events","type":"Organization","site_admin":false},"repo":{"id":76365045,"name":"libvirt-go","full_name":"libvirt/libvirt-go","owner":{"login":"libvirt","id":12560713,"avatar_url":"https://avatars0.githubusercontent.com/u/12560713?v=3","gravatar_id":"","url":"https://api.github.com/users/libvirt","html_url":"https://github.com/libvirt","followers_url":"https://api.github.com/users/libvirt/followers","following_url":"https://api.github.com/users/libvirt/following{/other_user}","gists_url":"https://api.github.com/users/libvirt/gists{/gist_id}","starred_url":"https://api.github.com/users/libvirt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/libvirt/subscriptions","organizations_url":"https://api.github.com/users/libvirt/orgs","repos_url":"https://api.github.com/users/libvirt/repos","events_url":"https://api.github.com/users/libvirt/events{/privacy}","received_events_url":"https://api.github.com/users/libvirt/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/libvirt/libvirt-go","description":" Automatic read-only mirror of http://libvirt.org/git/?p=libvirt-go.git;a=summary ","fork":false,"url":"https://api.github.com/repos/libvirt/libvirt-go","forks_url":"https://api.github.com/repos/libvirt/libvirt-go/forks","keys_url":"https://api.github.com/repos/libvirt/libvirt-go/keys{/key_id}","collaborators_url":"https://api.github.com/repos/libvirt/libvirt-go/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/libvirt/libvirt-go/teams","hooks_url":"https://api.github.com/repos/libvirt/libvirt-go/hooks","issue_events_url":"https://api.github.com/repos/libvirt/libvirt-go/issues/events{/number}","events_url":"https://api.github.com/repos/libvirt/libvirt-go/events","assignees_url":"https://api.github.com/repos/libvirt/libvirt-go/assignees{/user}","branches_url":"https://api.github.com/repos/libvirt/libvirt-go/branches{/branch}","tags_url":"https://api.github.com/repos/libvirt/libvirt-go/tags","blobs_url":"https://api.github.com/repos/libvirt/libvirt-go/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/libvirt/libvirt-go/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/libvirt/libvirt-go/git/refs{/sha}","trees_url":"https://api.github.com/repos/libvirt/libvirt-go/git/trees{/sha}","statuses_url":"https://api.github.com/repos/libvirt/libvirt-go/statuses/{sha}","languages_url":"https://api.github.com/repos/libvirt/libvirt-go/languages","stargazers_url":"https://api.github.com/repos/libvirt/libvirt-go/stargazers","contributors_url":"https://api.github.com/repos/libvirt/libvirt-go/contributors","subscribers_url":"https://api.github.com/repos/libvirt/libvirt-go/subscribers","subscription_url":"https://api.github.com/repos/libvirt/libvirt-go/subscription","commits_url":"https://api.github.com/repos/libvirt/libvirt-go/commits{/sha}","git_commits_url":"https://api.github.com/repos/libvirt/libvirt-go/git/commits{/sha}","comments_url":"https://api.github.com/repos/libvirt/libvirt-go/comments{/number}","issue_comment_url":"https://api.github.com/repos/libvirt/libvirt-go/issues/comments{/number}","contents_url":"https://api.github.com/repos/libvirt/libvirt-go/contents/{+path}","compare_url":"https://api.github.com/repos/libvirt/libvirt-go/compare/{base}...{head}","merges_url":"https://api.github.com/repos/libvirt/libvirt-go/merges","archive_url":"https://api.github.com/repos/libvirt/libvirt-go/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/libvirt/libvirt-go/downloads","issues_url":"https://api.github.com/repos/libvirt/libvirt-go/issues{/number}","pulls_url":"https://api.github.com/repos/libvirt/libvirt-go/pulls{/number}","milestones_url":"https://api.github.com/repos/libvirt/libvirt-go/milestones{/number}","notifications_url":"https://api.github.com/repos/libvirt/libvirt-go/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/libvirt/libvirt-go/labels{/name}","releases_url":"https://api.github.com/repos/libvirt/libvirt-go/releases{/id}","deployments_url":"https://api.github.com/repos/libvirt/libvirt-go/deployments","created_at":"2016-12-13T14:16:31Z","updated_at":"2017-04-07T02:43:25Z","pushed_at":"2017-04-05T10:30:28Z","git_url":"git://github.com/libvirt/libvirt-go.git","ssh_url":"git@github.com:libvirt/libvirt-go.git","clone_url":"https://github.com/libvirt/libvirt-go.git","svn_url":"https://github.com/libvirt/libvirt-go","homepage":null,"size":665,"stargazers_count":39,"watchers_count":39,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":11,"mirror_url":null,"open_issues_count":5,"forks":11,"open_issues":5,"watchers":39,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/libvirt/libvirt-go/pulls/15"},"html":{"href":"https://github.com/libvirt/libvirt-go/pull/15"},"issue":{"href":"https://api.github.com/repos/libvirt/libvirt-go/issues/15"},"comments":{"href":"https://api.github.com/repos/libvirt/libvirt-go/issues/15/comments"},"review_comments":{"href":"https://api.github.com/repos/libvirt/libvirt-go/pulls/15/comments"},"review_comment":{"href":"https://api.github.com/repos/libvirt/libvirt-go/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/libvirt/libvirt-go/pulls/15/commits"},"statuses":{"href":"https://api.github.com/repos/libvirt/libvirt-go/statuses/803a70a6d92adbf2b201fff6d3aae64e97e9f4aa"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":5,"deletions":4,"changed_files":1}}
{"actor":{"display_login":"monstermunchkin"}}