{"action":"opened","number":324,"pull_request":{"url":"https://api.github.com/repos/AltBeacon/android-beacon-library/pulls/324","id":53511921,"html_url":"https://github.com/AltBeacon/android-beacon-library/pull/324","diff_url":"https://github.com/AltBeacon/android-beacon-library/pull/324.diff","patch_url":"https://github.com/AltBeacon/android-beacon-library/pull/324.patch","issue_url":"https://api.github.com/repos/AltBeacon/android-beacon-library/issues/324","number":324,"state":"open","locked":false,"title":"Fix crash on comparison overrun ","user":{"login":"davidgyoung","id":1044849,"avatar_url":"https://avatars.githubusercontent.com/u/1044849?v=3","gravatar_id":"","url":"https://api.github.com/users/davidgyoung","html_url":"https://github.com/davidgyoung","followers_url":"https://api.github.com/users/davidgyoung/followers","following_url":"https://api.github.com/users/davidgyoung/following{/other_user}","gists_url":"https://api.github.com/users/davidgyoung/gists{/gist_id}","starred_url":"https://api.github.com/users/davidgyoung/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidgyoung/subscriptions","organizations_url":"https://api.github.com/users/davidgyoung/orgs","repos_url":"https://api.github.com/users/davidgyoung/repos","events_url":"https://api.github.com/users/davidgyoung/events{/privacy}","received_events_url":"https://api.github.com/users/davidgyoung/received_events","type":"User","site_admin":false},"body":"When comparing two byte arrays, check first to see if one is shorter than the other.  If so, consider them unequal and short-circuit the comparison rather than crash on an ArrayIndexOutOfBoundsException looping through the bytes.  Fixes #323","created_at":"2015-12-13T22:35:23Z","updated_at":"2015-12-13T22:35:23Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b423c3ac1423a39448c687097305ef9a785ab502","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/AltBeacon/android-beacon-library/pulls/324/commits","review_comments_url":"https://api.github.com/repos/AltBeacon/android-beacon-library/pulls/324/comments","review_comment_url":"https://api.github.com/repos/AltBeacon/android-beacon-library/pulls/comments{/number}","comments_url":"https://api.github.com/repos/AltBeacon/android-beacon-library/issues/324/comments","statuses_url":"https://api.github.com/repos/AltBeacon/android-beacon-library/statuses/9814f24ddaea4b498dff931e362b9dcebedf8f4f","head":{"label":"AltBeacon:fix-crash-on-comparison-overrun","ref":"fix-crash-on-comparison-overrun","sha":"9814f24ddaea4b498dff931e362b9dcebedf8f4f","user":{"login":"AltBeacon","id":8183428,"avatar_url":"https://avatars.githubusercontent.com/u/8183428?v=3","gravatar_id":"","url":"https://api.github.com/users/AltBeacon","html_url":"https://github.com/AltBeacon","followers_url":"https://api.github.com/users/AltBeacon/followers","following_url":"https://api.github.com/users/AltBeacon/following{/other_user}","gists_url":"https://api.github.com/users/AltBeacon/gists{/gist_id}","starred_url":"https://api.github.com/users/AltBeacon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AltBeacon/subscriptions","organizations_url":"https://api.github.com/users/AltBeacon/orgs","repos_url":"https://api.github.com/users/AltBeacon/repos","events_url":"https://api.github.com/users/AltBeacon/events{/privacy}","received_events_url":"https://api.github.com/users/AltBeacon/received_events","type":"Organization","site_admin":false},"repo":{"id":22342877,"name":"android-beacon-library","full_name":"AltBeacon/android-beacon-library","owner":{"login":"AltBeacon","id":8183428,"avatar_url":"https://avatars.githubusercontent.com/u/8183428?v=3","gravatar_id":"","url":"https://api.github.com/users/AltBeacon","html_url":"https://github.com/AltBeacon","followers_url":"https://api.github.com/users/AltBeacon/followers","following_url":"https://api.github.com/users/AltBeacon/following{/other_user}","gists_url":"https://api.github.com/users/AltBeacon/gists{/gist_id}","starred_url":"https://api.github.com/users/AltBeacon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AltBeacon/subscriptions","organizations_url":"https://api.github.com/users/AltBeacon/orgs","repos_url":"https://api.github.com/users/AltBeacon/repos","events_url":"https://api.github.com/users/AltBeacon/events{/privacy}","received_events_url":"https://api.github.com/users/AltBeacon/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/AltBeacon/android-beacon-library","description":"Allows Android apps to interact with BLE beacons","fork":false,"url":"https://api.github.com/repos/AltBeacon/android-beacon-library","forks_url":"https://api.github.com/repos/AltBeacon/android-beacon-library/forks","keys_url":"https://api.github.com/repos/AltBeacon/android-beacon-library/keys{/key_id}","collaborators_url":"https://api.github.com/repos/AltBeacon/android-beacon-library/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/AltBeacon/android-beacon-library/teams","hooks_url":"https://api.github.com/repos/AltBeacon/android-beacon-library/hooks","issue_events_url":"https://api.github.com/repos/AltBeacon/android-beacon-library/issues/events{/number}","events_url":"https://api.github.com/repos/AltBeacon/android-beacon-library/events","assignees_url":"https://api.github.com/repos/AltBeacon/android-beacon-library/assignees{/user}","branches_url":"https://api.github.com/repos/AltBeacon/android-beacon-library/branches{/branch}","tags_url":"https://api.github.com/repos/AltBeacon/android-beacon-library/tags","blobs_url":"https://api.github.com/repos/AltBeacon/android-beacon-library/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/AltBeacon/android-beacon-library/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/AltBeacon/android-beacon-library/git/refs{/sha}","trees_url":"https://api.github.com/repos/AltBeacon/android-beacon-library/git/trees{/sha}","statuses_url":"https://api.github.com/repos/AltBeacon/android-beacon-library/statuses/{sha}","languages_url":"https://api.github.com/repos/AltBeacon/android-beacon-library/languages","stargazers_url":"https://api.github.com/repos/AltBeacon/android-beacon-library/stargazers","contributors_url":"https://api.github.com/repos/AltBeacon/android-beacon-library/contributors","subscribers_url":"https://api.github.com/repos/AltBeacon/android-beacon-library/subscribers","subscription_url":"https://api.github.com/repos/AltBeacon/android-beacon-library/subscription","commits_url":"https://api.github.com/repos/AltBeacon/android-beacon-library/commits{/sha}","git_commits_url":"https://api.github.com/repos/AltBeacon/android-beacon-library/git/commits{/sha}","comments_url":"https://api.github.com/repos/AltBeacon/android-beacon-library/comments{/number}","issue_comment_url":"https://api.github.com/repos/AltBeacon/android-beacon-library/issues/comments{/number}","contents_url":"https://api.github.com/repos/AltBeacon/android-beacon-library/contents/{+path}","compare_url":"https://api.github.com/repos/AltBeacon/android-beacon-library/compare/{base}...{head}","merges_url":"https://api.github.com/repos/AltBeacon/android-beacon-library/merges","archive_url":"https://api.github.com/repos/AltBeacon/android-beacon-library/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/AltBeacon/android-beacon-library/downloads","issues_url":"https://api.github.com/repos/AltBeacon/android-beacon-library/issues{/number}","pulls_url":"https://api.github.com/repos/AltBeacon/android-beacon-library/pulls{/number}","milestones_url":"https://api.github.com/repos/AltBeacon/android-beacon-library/milestones{/number}","notifications_url":"https://api.github.com/repos/AltBeacon/android-beacon-library/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/AltBeacon/android-beacon-library/labels{/name}","releases_url":"https://api.github.com/repos/AltBeacon/android-beacon-library/releases{/id}","created_at":"2014-07-28T13:11:19Z","updated_at":"2015-12-12T11:39:36Z","pushed_at":"2015-12-13T22:35:23Z","git_url":"git://github.com/AltBeacon/android-beacon-library.git","ssh_url":"git@github.com:AltBeacon/android-beacon-library.git","clone_url":"https://github.com/AltBeacon/android-beacon-library.git","svn_url":"https://github.com/AltBeacon/android-beacon-library","homepage":null,"size":5868,"stargazers_count":928,"watchers_count":928,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":324,"mirror_url":null,"open_issues_count":57,"forks":324,"open_issues":57,"watchers":928,"default_branch":"master"}},"base":{"label":"AltBeacon:master","ref":"master","sha":"a852a3a2802fac9e21e93cff2d936b281309985b","user":{"login":"AltBeacon","id":8183428,"avatar_url":"https://avatars.githubusercontent.com/u/8183428?v=3","gravatar_id":"","url":"https://api.github.com/users/AltBeacon","html_url":"https://github.com/AltBeacon","followers_url":"https://api.github.com/users/AltBeacon/followers","following_url":"https://api.github.com/users/AltBeacon/following{/other_user}","gists_url":"https://api.github.com/users/AltBeacon/gists{/gist_id}","starred_url":"https://api.github.com/users/AltBeacon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AltBeacon/subscriptions","organizations_url":"https://api.github.com/users/AltBeacon/orgs","repos_url":"https://api.github.com/users/AltBeacon/repos","events_url":"https://api.github.com/users/AltBeacon/events{/privacy}","received_events_url":"https://api.github.com/users/AltBeacon/received_events","type":"Organization","site_admin":false},"repo":{"id":22342877,"name":"android-beacon-library","full_name":"AltBeacon/android-beacon-library","owner":{"login":"AltBeacon","id":8183428,"avatar_url":"https://avatars.githubusercontent.com/u/8183428?v=3","gravatar_id":"","url":"https://api.github.com/users/AltBeacon","html_url":"https://github.com/AltBeacon","followers_url":"https://api.github.com/users/AltBeacon/followers","following_url":"https://api.github.com/users/AltBeacon/following{/other_user}","gists_url":"https://api.github.com/users/AltBeacon/gists{/gist_id}","starred_url":"https://api.github.com/users/AltBeacon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AltBeacon/subscriptions","organizations_url":"https://api.github.com/users/AltBeacon/orgs","repos_url":"https://api.github.com/users/AltBeacon/repos","events_url":"https://api.github.com/users/AltBeacon/events{/privacy}","received_events_url":"https://api.github.com/users/AltBeacon/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/AltBeacon/android-beacon-library","description":"Allows Android apps to interact with BLE beacons","fork":false,"url":"https://api.github.com/repos/AltBeacon/android-beacon-library","forks_url":"https://api.github.com/repos/AltBeacon/android-beacon-library/forks","keys_url":"https://api.github.com/repos/AltBeacon/android-beacon-library/keys{/key_id}","collaborators_url":"https://api.github.com/repos/AltBeacon/android-beacon-library/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/AltBeacon/android-beacon-library/teams","hooks_url":"https://api.github.com/repos/AltBeacon/android-beacon-library/hooks","issue_events_url":"https://api.github.com/repos/AltBeacon/android-beacon-library/issues/events{/number}","events_url":"https://api.github.com/repos/AltBeacon/android-beacon-library/events","assignees_url":"https://api.github.com/repos/AltBeacon/android-beacon-library/assignees{/user}","branches_url":"https://api.github.com/repos/AltBeacon/android-beacon-library/branches{/branch}","tags_url":"https://api.github.com/repos/AltBeacon/android-beacon-library/tags","blobs_url":"https://api.github.com/repos/AltBeacon/android-beacon-library/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/AltBeacon/android-beacon-library/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/AltBeacon/android-beacon-library/git/refs{/sha}","trees_url":"https://api.github.com/repos/AltBeacon/android-beacon-library/git/trees{/sha}","statuses_url":"https://api.github.com/repos/AltBeacon/android-beacon-library/statuses/{sha}","languages_url":"https://api.github.com/repos/AltBeacon/android-beacon-library/languages","stargazers_url":"https://api.github.com/repos/AltBeacon/android-beacon-library/stargazers","contributors_url":"https://api.github.com/repos/AltBeacon/android-beacon-library/contributors","subscribers_url":"https://api.github.com/repos/AltBeacon/android-beacon-library/subscribers","subscription_url":"https://api.github.com/repos/AltBeacon/android-beacon-library/subscription","commits_url":"https://api.github.com/repos/AltBeacon/android-beacon-library/commits{/sha}","git_commits_url":"https://api.github.com/repos/AltBeacon/android-beacon-library/git/commits{/sha}","comments_url":"https://api.github.com/repos/AltBeacon/android-beacon-library/comments{/number}","issue_comment_url":"https://api.github.com/repos/AltBeacon/android-beacon-library/issues/comments{/number}","contents_url":"https://api.github.com/repos/AltBeacon/android-beacon-library/contents/{+path}","compare_url":"https://api.github.com/repos/AltBeacon/android-beacon-library/compare/{base}...{head}","merges_url":"https://api.github.com/repos/AltBeacon/android-beacon-library/merges","archive_url":"https://api.github.com/repos/AltBeacon/android-beacon-library/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/AltBeacon/android-beacon-library/downloads","issues_url":"https://api.github.com/repos/AltBeacon/android-beacon-library/issues{/number}","pulls_url":"https://api.github.com/repos/AltBeacon/android-beacon-library/pulls{/number}","milestones_url":"https://api.github.com/repos/AltBeacon/android-beacon-library/milestones{/number}","notifications_url":"https://api.github.com/repos/AltBeacon/android-beacon-library/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/AltBeacon/android-beacon-library/labels{/name}","releases_url":"https://api.github.com/repos/AltBeacon/android-beacon-library/releases{/id}","created_at":"2014-07-28T13:11:19Z","updated_at":"2015-12-12T11:39:36Z","pushed_at":"2015-12-13T22:35:23Z","git_url":"git://github.com/AltBeacon/android-beacon-library.git","ssh_url":"git@github.com:AltBeacon/android-beacon-library.git","clone_url":"https://github.com/AltBeacon/android-beacon-library.git","svn_url":"https://github.com/AltBeacon/android-beacon-library","homepage":null,"size":5868,"stargazers_count":928,"watchers_count":928,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":324,"mirror_url":null,"open_issues_count":57,"forks":324,"open_issues":57,"watchers":928,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/AltBeacon/android-beacon-library/pulls/324"},"html":{"href":"https://github.com/AltBeacon/android-beacon-library/pull/324"},"issue":{"href":"https://api.github.com/repos/AltBeacon/android-beacon-library/issues/324"},"comments":{"href":"https://api.github.com/repos/AltBeacon/android-beacon-library/issues/324/comments"},"review_comments":{"href":"https://api.github.com/repos/AltBeacon/android-beacon-library/pulls/324/comments"},"review_comment":{"href":"https://api.github.com/repos/AltBeacon/android-beacon-library/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/AltBeacon/android-beacon-library/pulls/324/commits"},"statuses":{"href":"https://api.github.com/repos/AltBeacon/android-beacon-library/statuses/9814f24ddaea4b498dff931e362b9dcebedf8f4f"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":18,"deletions":0,"changed_files":2}}