{"action":"opened","number":8,"pull_request":{"url":"https://api.github.com/repos/a3linux/libstomp/pulls/8","id":72630101,"html_url":"https://github.com/a3linux/libstomp/pull/8","diff_url":"https://github.com/a3linux/libstomp/pull/8.diff","patch_url":"https://github.com/a3linux/libstomp/pull/8.patch","issue_url":"https://api.github.com/repos/a3linux/libstomp/issues/8","number":8,"state":"open","locked":false,"title":"FIX: check for NULL before calling strlen in order to prevent a segme…","user":{"login":"orpiske","id":1851560,"avatar_url":"https://avatars.githubusercontent.com/u/1851560?v=3","gravatar_id":"","url":"https://api.github.com/users/orpiske","html_url":"https://github.com/orpiske","followers_url":"https://api.github.com/users/orpiske/followers","following_url":"https://api.github.com/users/orpiske/following{/other_user}","gists_url":"https://api.github.com/users/orpiske/gists{/gist_id}","starred_url":"https://api.github.com/users/orpiske/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/orpiske/subscriptions","organizations_url":"https://api.github.com/users/orpiske/orgs","repos_url":"https://api.github.com/users/orpiske/repos","events_url":"https://api.github.com/users/orpiske/events{/privacy}","received_events_url":"https://api.github.com/users/orpiske/received_events","type":"User","site_admin":false},"body":"Check for NULL before calling strlen in order to prevent a segmentation fault. \r\n\r\nIt seems that the example code crashes due to that. This is a proposed patch to fix this problem.","created_at":"2016-06-05T14:02:28Z","updated_at":"2016-06-05T14:02:28Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/a3linux/libstomp/pulls/8/commits","review_comments_url":"https://api.github.com/repos/a3linux/libstomp/pulls/8/comments","review_comment_url":"https://api.github.com/repos/a3linux/libstomp/pulls/comments{/number}","comments_url":"https://api.github.com/repos/a3linux/libstomp/issues/8/comments","statuses_url":"https://api.github.com/repos/a3linux/libstomp/statuses/95ea8a0fe6a02cd0fc2802bb9260771b1a9fbdb0","head":{"label":"orpiske:null-access-fix","ref":"null-access-fix","sha":"95ea8a0fe6a02cd0fc2802bb9260771b1a9fbdb0","user":{"login":"orpiske","id":1851560,"avatar_url":"https://avatars.githubusercontent.com/u/1851560?v=3","gravatar_id":"","url":"https://api.github.com/users/orpiske","html_url":"https://github.com/orpiske","followers_url":"https://api.github.com/users/orpiske/followers","following_url":"https://api.github.com/users/orpiske/following{/other_user}","gists_url":"https://api.github.com/users/orpiske/gists{/gist_id}","starred_url":"https://api.github.com/users/orpiske/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/orpiske/subscriptions","organizations_url":"https://api.github.com/users/orpiske/orgs","repos_url":"https://api.github.com/users/orpiske/repos","events_url":"https://api.github.com/users/orpiske/events{/privacy}","received_events_url":"https://api.github.com/users/orpiske/received_events","type":"User","site_admin":false},"repo":{"id":60462252,"name":"libstomp","full_name":"orpiske/libstomp","owner":{"login":"orpiske","id":1851560,"avatar_url":"https://avatars.githubusercontent.com/u/1851560?v=3","gravatar_id":"","url":"https://api.github.com/users/orpiske","html_url":"https://github.com/orpiske","followers_url":"https://api.github.com/users/orpiske/followers","following_url":"https://api.github.com/users/orpiske/following{/other_user}","gists_url":"https://api.github.com/users/orpiske/gists{/gist_id}","starred_url":"https://api.github.com/users/orpiske/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/orpiske/subscriptions","organizations_url":"https://api.github.com/users/orpiske/orgs","repos_url":"https://api.github.com/users/orpiske/repos","events_url":"https://api.github.com/users/orpiske/events{/privacy}","received_events_url":"https://api.github.com/users/orpiske/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/orpiske/libstomp","description":"The C library used to talk the Stomp which is a simple to implement client protocol for working with ActiveMQ and other messaging systems.","fork":true,"url":"https://api.github.com/repos/orpiske/libstomp","forks_url":"https://api.github.com/repos/orpiske/libstomp/forks","keys_url":"https://api.github.com/repos/orpiske/libstomp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/orpiske/libstomp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/orpiske/libstomp/teams","hooks_url":"https://api.github.com/repos/orpiske/libstomp/hooks","issue_events_url":"https://api.github.com/repos/orpiske/libstomp/issues/events{/number}","events_url":"https://api.github.com/repos/orpiske/libstomp/events","assignees_url":"https://api.github.com/repos/orpiske/libstomp/assignees{/user}","branches_url":"https://api.github.com/repos/orpiske/libstomp/branches{/branch}","tags_url":"https://api.github.com/repos/orpiske/libstomp/tags","blobs_url":"https://api.github.com/repos/orpiske/libstomp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/orpiske/libstomp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/orpiske/libstomp/git/refs{/sha}","trees_url":"https://api.github.com/repos/orpiske/libstomp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/orpiske/libstomp/statuses/{sha}","languages_url":"https://api.github.com/repos/orpiske/libstomp/languages","stargazers_url":"https://api.github.com/repos/orpiske/libstomp/stargazers","contributors_url":"https://api.github.com/repos/orpiske/libstomp/contributors","subscribers_url":"https://api.github.com/repos/orpiske/libstomp/subscribers","subscription_url":"https://api.github.com/repos/orpiske/libstomp/subscription","commits_url":"https://api.github.com/repos/orpiske/libstomp/commits{/sha}","git_commits_url":"https://api.github.com/repos/orpiske/libstomp/git/commits{/sha}","comments_url":"https://api.github.com/repos/orpiske/libstomp/comments{/number}","issue_comment_url":"https://api.github.com/repos/orpiske/libstomp/issues/comments{/number}","contents_url":"https://api.github.com/repos/orpiske/libstomp/contents/{+path}","compare_url":"https://api.github.com/repos/orpiske/libstomp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/orpiske/libstomp/merges","archive_url":"https://api.github.com/repos/orpiske/libstomp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/orpiske/libstomp/downloads","issues_url":"https://api.github.com/repos/orpiske/libstomp/issues{/number}","pulls_url":"https://api.github.com/repos/orpiske/libstomp/pulls{/number}","milestones_url":"https://api.github.com/repos/orpiske/libstomp/milestones{/number}","notifications_url":"https://api.github.com/repos/orpiske/libstomp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/orpiske/libstomp/labels{/name}","releases_url":"https://api.github.com/repos/orpiske/libstomp/releases{/id}","deployments_url":"https://api.github.com/repos/orpiske/libstomp/deployments","created_at":"2016-06-05T13:47:32Z","updated_at":"2016-06-05T13:47:32Z","pushed_at":"2016-06-05T13:59:49Z","git_url":"git://github.com/orpiske/libstomp.git","ssh_url":"git@github.com:orpiske/libstomp.git","clone_url":"https://github.com/orpiske/libstomp.git","svn_url":"https://github.com/orpiske/libstomp","homepage":"http://stomp.codehaus.org/","size":288,"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":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"a3linux:master","ref":"master","sha":"9ea6337d93c61188eb9be1c14810d6bcbf1b13f6","user":{"login":"a3linux","id":420507,"avatar_url":"https://avatars.githubusercontent.com/u/420507?v=3","gravatar_id":"","url":"https://api.github.com/users/a3linux","html_url":"https://github.com/a3linux","followers_url":"https://api.github.com/users/a3linux/followers","following_url":"https://api.github.com/users/a3linux/following{/other_user}","gists_url":"https://api.github.com/users/a3linux/gists{/gist_id}","starred_url":"https://api.github.com/users/a3linux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/a3linux/subscriptions","organizations_url":"https://api.github.com/users/a3linux/orgs","repos_url":"https://api.github.com/users/a3linux/repos","events_url":"https://api.github.com/users/a3linux/events{/privacy}","received_events_url":"https://api.github.com/users/a3linux/received_events","type":"User","site_admin":false},"repo":{"id":2692639,"name":"libstomp","full_name":"a3linux/libstomp","owner":{"login":"a3linux","id":420507,"avatar_url":"https://avatars.githubusercontent.com/u/420507?v=3","gravatar_id":"","url":"https://api.github.com/users/a3linux","html_url":"https://github.com/a3linux","followers_url":"https://api.github.com/users/a3linux/followers","following_url":"https://api.github.com/users/a3linux/following{/other_user}","gists_url":"https://api.github.com/users/a3linux/gists{/gist_id}","starred_url":"https://api.github.com/users/a3linux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/a3linux/subscriptions","organizations_url":"https://api.github.com/users/a3linux/orgs","repos_url":"https://api.github.com/users/a3linux/repos","events_url":"https://api.github.com/users/a3linux/events{/privacy}","received_events_url":"https://api.github.com/users/a3linux/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/a3linux/libstomp","description":"The C library used to talk the Stomp which is a simple to implement client protocol for working with ActiveMQ and other messaging systems.","fork":false,"url":"https://api.github.com/repos/a3linux/libstomp","forks_url":"https://api.github.com/repos/a3linux/libstomp/forks","keys_url":"https://api.github.com/repos/a3linux/libstomp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/a3linux/libstomp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/a3linux/libstomp/teams","hooks_url":"https://api.github.com/repos/a3linux/libstomp/hooks","issue_events_url":"https://api.github.com/repos/a3linux/libstomp/issues/events{/number}","events_url":"https://api.github.com/repos/a3linux/libstomp/events","assignees_url":"https://api.github.com/repos/a3linux/libstomp/assignees{/user}","branches_url":"https://api.github.com/repos/a3linux/libstomp/branches{/branch}","tags_url":"https://api.github.com/repos/a3linux/libstomp/tags","blobs_url":"https://api.github.com/repos/a3linux/libstomp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/a3linux/libstomp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/a3linux/libstomp/git/refs{/sha}","trees_url":"https://api.github.com/repos/a3linux/libstomp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/a3linux/libstomp/statuses/{sha}","languages_url":"https://api.github.com/repos/a3linux/libstomp/languages","stargazers_url":"https://api.github.com/repos/a3linux/libstomp/stargazers","contributors_url":"https://api.github.com/repos/a3linux/libstomp/contributors","subscribers_url":"https://api.github.com/repos/a3linux/libstomp/subscribers","subscription_url":"https://api.github.com/repos/a3linux/libstomp/subscription","commits_url":"https://api.github.com/repos/a3linux/libstomp/commits{/sha}","git_commits_url":"https://api.github.com/repos/a3linux/libstomp/git/commits{/sha}","comments_url":"https://api.github.com/repos/a3linux/libstomp/comments{/number}","issue_comment_url":"https://api.github.com/repos/a3linux/libstomp/issues/comments{/number}","contents_url":"https://api.github.com/repos/a3linux/libstomp/contents/{+path}","compare_url":"https://api.github.com/repos/a3linux/libstomp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/a3linux/libstomp/merges","archive_url":"https://api.github.com/repos/a3linux/libstomp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/a3linux/libstomp/downloads","issues_url":"https://api.github.com/repos/a3linux/libstomp/issues{/number}","pulls_url":"https://api.github.com/repos/a3linux/libstomp/pulls{/number}","milestones_url":"https://api.github.com/repos/a3linux/libstomp/milestones{/number}","notifications_url":"https://api.github.com/repos/a3linux/libstomp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/a3linux/libstomp/labels{/name}","releases_url":"https://api.github.com/repos/a3linux/libstomp/releases{/id}","deployments_url":"https://api.github.com/repos/a3linux/libstomp/deployments","created_at":"2011-11-02T03:15:07Z","updated_at":"2016-01-23T12:43:13Z","pushed_at":"2015-09-08T09:02:10Z","git_url":"git://github.com/a3linux/libstomp.git","ssh_url":"git@github.com:a3linux/libstomp.git","clone_url":"https://github.com/a3linux/libstomp.git","svn_url":"https://github.com/a3linux/libstomp","homepage":"http://stomp.codehaus.org/","size":400,"stargazers_count":11,"watchers_count":11,"language":"C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":10,"mirror_url":null,"open_issues_count":2,"forks":10,"open_issues":2,"watchers":11,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/a3linux/libstomp/pulls/8"},"html":{"href":"https://github.com/a3linux/libstomp/pull/8"},"issue":{"href":"https://api.github.com/repos/a3linux/libstomp/issues/8"},"comments":{"href":"https://api.github.com/repos/a3linux/libstomp/issues/8/comments"},"review_comments":{"href":"https://api.github.com/repos/a3linux/libstomp/pulls/8/comments"},"review_comment":{"href":"https://api.github.com/repos/a3linux/libstomp/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/a3linux/libstomp/pulls/8/commits"},"statuses":{"href":"https://api.github.com/repos/a3linux/libstomp/statuses/95ea8a0fe6a02cd0fc2802bb9260771b1a9fbdb0"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":1,"deletions":1,"changed_files":1}}
{"actor":{"display_login":"orpiske"}}