{"action":"opened","number":1,"pull_request":{"url":"https://api.github.com/repos/peterbarker/dronekit-la/pulls/1","id":200622727,"node_id":"MDExOlB1bGxSZXF1ZXN0MjAwNjIyNzI3","html_url":"https://github.com/peterbarker/dronekit-la/pull/1","diff_url":"https://github.com/peterbarker/dronekit-la/pull/1.diff","patch_url":"https://github.com/peterbarker/dronekit-la/pull/1.patch","issue_url":"https://api.github.com/repos/peterbarker/dronekit-la/issues/1","number":1,"state":"open","locked":false,"title":"Check that there is at least one log number","user":{"login":"EloiZalczer","id":6155302,"node_id":"MDQ6VXNlcjYxNTUzMDI=","avatar_url":"https://avatars0.githubusercontent.com/u/6155302?v=4","gravatar_id":"","url":"https://api.github.com/users/EloiZalczer","html_url":"https://github.com/EloiZalczer","followers_url":"https://api.github.com/users/EloiZalczer/followers","following_url":"https://api.github.com/users/EloiZalczer/following{/other_user}","gists_url":"https://api.github.com/users/EloiZalczer/gists{/gist_id}","starred_url":"https://api.github.com/users/EloiZalczer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EloiZalczer/subscriptions","organizations_url":"https://api.github.com/users/EloiZalczer/orgs","repos_url":"https://api.github.com/users/EloiZalczer/repos","events_url":"https://api.github.com/users/EloiZalczer/events{/privacy}","received_events_url":"https://api.github.com/users/EloiZalczer/received_events","type":"User","site_admin":false},"body":"Error case : \r\n./log-download -s /dev/ttyACM0\r\nResulting in segfault if no log number is given. Handle the error by checking that optind is less than argc.","created_at":"2018-07-11T08:29:03Z","updated_at":"2018-07-11T08:29:03Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/peterbarker/dronekit-la/pulls/1/commits","review_comments_url":"https://api.github.com/repos/peterbarker/dronekit-la/pulls/1/comments","review_comment_url":"https://api.github.com/repos/peterbarker/dronekit-la/pulls/comments{/number}","comments_url":"https://api.github.com/repos/peterbarker/dronekit-la/issues/1/comments","statuses_url":"https://api.github.com/repos/peterbarker/dronekit-la/statuses/bd991d7906503e56e72780e138fc4a5bff8da9f6","head":{"label":"EloiZalczer:prevent_segfault_options","ref":"prevent_segfault_options","sha":"bd991d7906503e56e72780e138fc4a5bff8da9f6","user":{"login":"EloiZalczer","id":6155302,"node_id":"MDQ6VXNlcjYxNTUzMDI=","avatar_url":"https://avatars0.githubusercontent.com/u/6155302?v=4","gravatar_id":"","url":"https://api.github.com/users/EloiZalczer","html_url":"https://github.com/EloiZalczer","followers_url":"https://api.github.com/users/EloiZalczer/followers","following_url":"https://api.github.com/users/EloiZalczer/following{/other_user}","gists_url":"https://api.github.com/users/EloiZalczer/gists{/gist_id}","starred_url":"https://api.github.com/users/EloiZalczer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EloiZalczer/subscriptions","organizations_url":"https://api.github.com/users/EloiZalczer/orgs","repos_url":"https://api.github.com/users/EloiZalczer/repos","events_url":"https://api.github.com/users/EloiZalczer/events{/privacy}","received_events_url":"https://api.github.com/users/EloiZalczer/received_events","type":"User","site_admin":false},"repo":{"id":140542203,"node_id":"MDEwOlJlcG9zaXRvcnkxNDA1NDIyMDM=","name":"dronekit-la","full_name":"EloiZalczer/dronekit-la","owner":{"login":"EloiZalczer","id":6155302,"node_id":"MDQ6VXNlcjYxNTUzMDI=","avatar_url":"https://avatars0.githubusercontent.com/u/6155302?v=4","gravatar_id":"","url":"https://api.github.com/users/EloiZalczer","html_url":"https://github.com/EloiZalczer","followers_url":"https://api.github.com/users/EloiZalczer/followers","following_url":"https://api.github.com/users/EloiZalczer/following{/other_user}","gists_url":"https://api.github.com/users/EloiZalczer/gists{/gist_id}","starred_url":"https://api.github.com/users/EloiZalczer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EloiZalczer/subscriptions","organizations_url":"https://api.github.com/users/EloiZalczer/orgs","repos_url":"https://api.github.com/users/EloiZalczer/repos","events_url":"https://api.github.com/users/EloiZalczer/events{/privacy}","received_events_url":"https://api.github.com/users/EloiZalczer/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/EloiZalczer/dronekit-la","description":"Log and Analysis","fork":true,"url":"https://api.github.com/repos/EloiZalczer/dronekit-la","forks_url":"https://api.github.com/repos/EloiZalczer/dronekit-la/forks","keys_url":"https://api.github.com/repos/EloiZalczer/dronekit-la/keys{/key_id}","collaborators_url":"https://api.github.com/repos/EloiZalczer/dronekit-la/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/EloiZalczer/dronekit-la/teams","hooks_url":"https://api.github.com/repos/EloiZalczer/dronekit-la/hooks","issue_events_url":"https://api.github.com/repos/EloiZalczer/dronekit-la/issues/events{/number}","events_url":"https://api.github.com/repos/EloiZalczer/dronekit-la/events","assignees_url":"https://api.github.com/repos/EloiZalczer/dronekit-la/assignees{/user}","branches_url":"https://api.github.com/repos/EloiZalczer/dronekit-la/branches{/branch}","tags_url":"https://api.github.com/repos/EloiZalczer/dronekit-la/tags","blobs_url":"https://api.github.com/repos/EloiZalczer/dronekit-la/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/EloiZalczer/dronekit-la/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/EloiZalczer/dronekit-la/git/refs{/sha}","trees_url":"https://api.github.com/repos/EloiZalczer/dronekit-la/git/trees{/sha}","statuses_url":"https://api.github.com/repos/EloiZalczer/dronekit-la/statuses/{sha}","languages_url":"https://api.github.com/repos/EloiZalczer/dronekit-la/languages","stargazers_url":"https://api.github.com/repos/EloiZalczer/dronekit-la/stargazers","contributors_url":"https://api.github.com/repos/EloiZalczer/dronekit-la/contributors","subscribers_url":"https://api.github.com/repos/EloiZalczer/dronekit-la/subscribers","subscription_url":"https://api.github.com/repos/EloiZalczer/dronekit-la/subscription","commits_url":"https://api.github.com/repos/EloiZalczer/dronekit-la/commits{/sha}","git_commits_url":"https://api.github.com/repos/EloiZalczer/dronekit-la/git/commits{/sha}","comments_url":"https://api.github.com/repos/EloiZalczer/dronekit-la/comments{/number}","issue_comment_url":"https://api.github.com/repos/EloiZalczer/dronekit-la/issues/comments{/number}","contents_url":"https://api.github.com/repos/EloiZalczer/dronekit-la/contents/{+path}","compare_url":"https://api.github.com/repos/EloiZalczer/dronekit-la/compare/{base}...{head}","merges_url":"https://api.github.com/repos/EloiZalczer/dronekit-la/merges","archive_url":"https://api.github.com/repos/EloiZalczer/dronekit-la/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/EloiZalczer/dronekit-la/downloads","issues_url":"https://api.github.com/repos/EloiZalczer/dronekit-la/issues{/number}","pulls_url":"https://api.github.com/repos/EloiZalczer/dronekit-la/pulls{/number}","milestones_url":"https://api.github.com/repos/EloiZalczer/dronekit-la/milestones{/number}","notifications_url":"https://api.github.com/repos/EloiZalczer/dronekit-la/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/EloiZalczer/dronekit-la/labels{/name}","releases_url":"https://api.github.com/repos/EloiZalczer/dronekit-la/releases{/id}","deployments_url":"https://api.github.com/repos/EloiZalczer/dronekit-la/deployments","created_at":"2018-07-11T08:03:56Z","updated_at":"2018-07-11T08:03:58Z","pushed_at":"2018-07-11T08:24:43Z","git_url":"git://github.com/EloiZalczer/dronekit-la.git","ssh_url":"git@github.com:EloiZalczer/dronekit-la.git","clone_url":"https://github.com/EloiZalczer/dronekit-la.git","svn_url":"https://github.com/EloiZalczer/dronekit-la","homepage":null,"size":5523,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"peterbarker:log-download","ref":"log-download","sha":"3cee03b98c639d456871afe91bf3ea7a4fa71f56","user":{"login":"peterbarker","id":7077857,"node_id":"MDQ6VXNlcjcwNzc4NTc=","avatar_url":"https://avatars0.githubusercontent.com/u/7077857?v=4","gravatar_id":"","url":"https://api.github.com/users/peterbarker","html_url":"https://github.com/peterbarker","followers_url":"https://api.github.com/users/peterbarker/followers","following_url":"https://api.github.com/users/peterbarker/following{/other_user}","gists_url":"https://api.github.com/users/peterbarker/gists{/gist_id}","starred_url":"https://api.github.com/users/peterbarker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/peterbarker/subscriptions","organizations_url":"https://api.github.com/users/peterbarker/orgs","repos_url":"https://api.github.com/users/peterbarker/repos","events_url":"https://api.github.com/users/peterbarker/events{/privacy}","received_events_url":"https://api.github.com/users/peterbarker/received_events","type":"User","site_admin":false},"repo":{"id":41182356,"node_id":"MDEwOlJlcG9zaXRvcnk0MTE4MjM1Ng==","name":"dronekit-la","full_name":"peterbarker/dronekit-la","owner":{"login":"peterbarker","id":7077857,"node_id":"MDQ6VXNlcjcwNzc4NTc=","avatar_url":"https://avatars0.githubusercontent.com/u/7077857?v=4","gravatar_id":"","url":"https://api.github.com/users/peterbarker","html_url":"https://github.com/peterbarker","followers_url":"https://api.github.com/users/peterbarker/followers","following_url":"https://api.github.com/users/peterbarker/following{/other_user}","gists_url":"https://api.github.com/users/peterbarker/gists{/gist_id}","starred_url":"https://api.github.com/users/peterbarker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/peterbarker/subscriptions","organizations_url":"https://api.github.com/users/peterbarker/orgs","repos_url":"https://api.github.com/users/peterbarker/repos","events_url":"https://api.github.com/users/peterbarker/events{/privacy}","received_events_url":"https://api.github.com/users/peterbarker/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/peterbarker/dronekit-la","description":"Log and Analysis","fork":false,"url":"https://api.github.com/repos/peterbarker/dronekit-la","forks_url":"https://api.github.com/repos/peterbarker/dronekit-la/forks","keys_url":"https://api.github.com/repos/peterbarker/dronekit-la/keys{/key_id}","collaborators_url":"https://api.github.com/repos/peterbarker/dronekit-la/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/peterbarker/dronekit-la/teams","hooks_url":"https://api.github.com/repos/peterbarker/dronekit-la/hooks","issue_events_url":"https://api.github.com/repos/peterbarker/dronekit-la/issues/events{/number}","events_url":"https://api.github.com/repos/peterbarker/dronekit-la/events","assignees_url":"https://api.github.com/repos/peterbarker/dronekit-la/assignees{/user}","branches_url":"https://api.github.com/repos/peterbarker/dronekit-la/branches{/branch}","tags_url":"https://api.github.com/repos/peterbarker/dronekit-la/tags","blobs_url":"https://api.github.com/repos/peterbarker/dronekit-la/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/peterbarker/dronekit-la/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/peterbarker/dronekit-la/git/refs{/sha}","trees_url":"https://api.github.com/repos/peterbarker/dronekit-la/git/trees{/sha}","statuses_url":"https://api.github.com/repos/peterbarker/dronekit-la/statuses/{sha}","languages_url":"https://api.github.com/repos/peterbarker/dronekit-la/languages","stargazers_url":"https://api.github.com/repos/peterbarker/dronekit-la/stargazers","contributors_url":"https://api.github.com/repos/peterbarker/dronekit-la/contributors","subscribers_url":"https://api.github.com/repos/peterbarker/dronekit-la/subscribers","subscription_url":"https://api.github.com/repos/peterbarker/dronekit-la/subscription","commits_url":"https://api.github.com/repos/peterbarker/dronekit-la/commits{/sha}","git_commits_url":"https://api.github.com/repos/peterbarker/dronekit-la/git/commits{/sha}","comments_url":"https://api.github.com/repos/peterbarker/dronekit-la/comments{/number}","issue_comment_url":"https://api.github.com/repos/peterbarker/dronekit-la/issues/comments{/number}","contents_url":"https://api.github.com/repos/peterbarker/dronekit-la/contents/{+path}","compare_url":"https://api.github.com/repos/peterbarker/dronekit-la/compare/{base}...{head}","merges_url":"https://api.github.com/repos/peterbarker/dronekit-la/merges","archive_url":"https://api.github.com/repos/peterbarker/dronekit-la/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/peterbarker/dronekit-la/downloads","issues_url":"https://api.github.com/repos/peterbarker/dronekit-la/issues{/number}","pulls_url":"https://api.github.com/repos/peterbarker/dronekit-la/pulls{/number}","milestones_url":"https://api.github.com/repos/peterbarker/dronekit-la/milestones{/number}","notifications_url":"https://api.github.com/repos/peterbarker/dronekit-la/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/peterbarker/dronekit-la/labels{/name}","releases_url":"https://api.github.com/repos/peterbarker/dronekit-la/releases{/id}","deployments_url":"https://api.github.com/repos/peterbarker/dronekit-la/deployments","created_at":"2015-08-21T23:48:35Z","updated_at":"2016-12-16T01:45:11Z","pushed_at":"2018-06-17T22:50:14Z","git_url":"git://github.com/peterbarker/dronekit-la.git","ssh_url":"git@github.com:peterbarker/dronekit-la.git","clone_url":"https://github.com/peterbarker/dronekit-la.git","svn_url":"https://github.com/peterbarker/dronekit-la","homepage":null,"size":5523,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":2,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/peterbarker/dronekit-la/pulls/1"},"html":{"href":"https://github.com/peterbarker/dronekit-la/pull/1"},"issue":{"href":"https://api.github.com/repos/peterbarker/dronekit-la/issues/1"},"comments":{"href":"https://api.github.com/repos/peterbarker/dronekit-la/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/peterbarker/dronekit-la/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/peterbarker/dronekit-la/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/peterbarker/dronekit-la/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/peterbarker/dronekit-la/statuses/bd991d7906503e56e72780e138fc4a5bff8da9f6"}},"author_association":"NONE","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":5,"deletions":0,"changed_files":1}}
{"actor":{"display_login":"EloiZalczer"}}