{"action":"closed","number":7123,"pull_request":{"url":"https://api.github.com/repos/ARMmbed/mbed-os/pulls/7123","id":192727789,"node_id":"MDExOlB1bGxSZXF1ZXN0MTkyNzI3Nzg5","html_url":"https://github.com/ARMmbed/mbed-os/pull/7123","diff_url":"https://github.com/ARMmbed/mbed-os/pull/7123.diff","patch_url":"https://github.com/ARMmbed/mbed-os/pull/7123.patch","issue_url":"https://api.github.com/repos/ARMmbed/mbed-os/issues/7123","number":7123,"state":"closed","locked":false,"title":"BLE: check flags to make sure the IRK has been stored before retrieving it","user":{"login":"paul-szczepanek-arm","id":33840200,"node_id":"MDQ6VXNlcjMzODQwMjAw","avatar_url":"https://avatars0.githubusercontent.com/u/33840200?v=4","gravatar_id":"","url":"https://api.github.com/users/paul-szczepanek-arm","html_url":"https://github.com/paul-szczepanek-arm","followers_url":"https://api.github.com/users/paul-szczepanek-arm/followers","following_url":"https://api.github.com/users/paul-szczepanek-arm/following{/other_user}","gists_url":"https://api.github.com/users/paul-szczepanek-arm/gists{/gist_id}","starred_url":"https://api.github.com/users/paul-szczepanek-arm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paul-szczepanek-arm/subscriptions","organizations_url":"https://api.github.com/users/paul-szczepanek-arm/orgs","repos_url":"https://api.github.com/users/paul-szczepanek-arm/repos","events_url":"https://api.github.com/users/paul-szczepanek-arm/events{/privacy}","received_events_url":"https://api.github.com/users/paul-szczepanek-arm/received_events","type":"User","site_admin":false},"body":"### Description\r\n\r\nFix for IRK and BDADDR being read in without checking the storage is valid. Found through a new clitest [SM_whitelist_generation_test_01](https://github.com/ARMmbed/ble-tests/pull/42).\r\n\r\n### Pull request type\r\n\r\n    [x] Fix\r\n    [ ] Refactor\r\n    [ ] New target\r\n    [ ] Feature\r\n    [ ] Breaking change\r\n\r\n","created_at":"2018-06-05T14:29:38Z","updated_at":"2018-06-14T15:15:16Z","closed_at":"2018-06-14T15:15:16Z","merged_at":"2018-06-14T15:15:16Z","merge_commit_sha":"c3e639aad25762b7105bd3a8283e8a5a84188027","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":426496706,"node_id":"MDU6TGFiZWw0MjY0OTY3MDY=","url":"https://api.github.com/repos/ARMmbed/mbed-os/labels/ready%20for%20merge","name":"ready for merge","color":"0e8a16","default":false},{"id":944426903,"node_id":"MDU6TGFiZWw5NDQ0MjY5MDM=","url":"https://api.github.com/repos/ARMmbed/mbed-os/labels/release-version:%205.9.1","name":"release-version: 5.9.1","color":"fef2c0","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/ARMmbed/mbed-os/pulls/7123/commits","review_comments_url":"https://api.github.com/repos/ARMmbed/mbed-os/pulls/7123/comments","review_comment_url":"https://api.github.com/repos/ARMmbed/mbed-os/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ARMmbed/mbed-os/issues/7123/comments","statuses_url":"https://api.github.com/repos/ARMmbed/mbed-os/statuses/265132c5a8ad5fc0fa2e70e2d5423abee7e6c13e","head":{"label":"paul-szczepanek-arm:fix-generate-whitelist","ref":"fix-generate-whitelist","sha":"265132c5a8ad5fc0fa2e70e2d5423abee7e6c13e","user":{"login":"paul-szczepanek-arm","id":33840200,"node_id":"MDQ6VXNlcjMzODQwMjAw","avatar_url":"https://avatars0.githubusercontent.com/u/33840200?v=4","gravatar_id":"","url":"https://api.github.com/users/paul-szczepanek-arm","html_url":"https://github.com/paul-szczepanek-arm","followers_url":"https://api.github.com/users/paul-szczepanek-arm/followers","following_url":"https://api.github.com/users/paul-szczepanek-arm/following{/other_user}","gists_url":"https://api.github.com/users/paul-szczepanek-arm/gists{/gist_id}","starred_url":"https://api.github.com/users/paul-szczepanek-arm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paul-szczepanek-arm/subscriptions","organizations_url":"https://api.github.com/users/paul-szczepanek-arm/orgs","repos_url":"https://api.github.com/users/paul-szczepanek-arm/repos","events_url":"https://api.github.com/users/paul-szczepanek-arm/events{/privacy}","received_events_url":"https://api.github.com/users/paul-szczepanek-arm/received_events","type":"User","site_admin":false},"repo":{"id":112753124,"node_id":"MDEwOlJlcG9zaXRvcnkxMTI3NTMxMjQ=","name":"mbed-os","full_name":"paul-szczepanek-arm/mbed-os","owner":{"login":"paul-szczepanek-arm","id":33840200,"node_id":"MDQ6VXNlcjMzODQwMjAw","avatar_url":"https://avatars0.githubusercontent.com/u/33840200?v=4","gravatar_id":"","url":"https://api.github.com/users/paul-szczepanek-arm","html_url":"https://github.com/paul-szczepanek-arm","followers_url":"https://api.github.com/users/paul-szczepanek-arm/followers","following_url":"https://api.github.com/users/paul-szczepanek-arm/following{/other_user}","gists_url":"https://api.github.com/users/paul-szczepanek-arm/gists{/gist_id}","starred_url":"https://api.github.com/users/paul-szczepanek-arm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paul-szczepanek-arm/subscriptions","organizations_url":"https://api.github.com/users/paul-szczepanek-arm/orgs","repos_url":"https://api.github.com/users/paul-szczepanek-arm/repos","events_url":"https://api.github.com/users/paul-szczepanek-arm/events{/privacy}","received_events_url":"https://api.github.com/users/paul-szczepanek-arm/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/paul-szczepanek-arm/mbed-os","description":"ARM mbed OS is a platform operating system designed for the internet of things","fork":true,"url":"https://api.github.com/repos/paul-szczepanek-arm/mbed-os","forks_url":"https://api.github.com/repos/paul-szczepanek-arm/mbed-os/forks","keys_url":"https://api.github.com/repos/paul-szczepanek-arm/mbed-os/keys{/key_id}","collaborators_url":"https://api.github.com/repos/paul-szczepanek-arm/mbed-os/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/paul-szczepanek-arm/mbed-os/teams","hooks_url":"https://api.github.com/repos/paul-szczepanek-arm/mbed-os/hooks","issue_events_url":"https://api.github.com/repos/paul-szczepanek-arm/mbed-os/issues/events{/number}","events_url":"https://api.github.com/repos/paul-szczepanek-arm/mbed-os/events","assignees_url":"https://api.github.com/repos/paul-szczepanek-arm/mbed-os/assignees{/user}","branches_url":"https://api.github.com/repos/paul-szczepanek-arm/mbed-os/branches{/branch}","tags_url":"https://api.github.com/repos/paul-szczepanek-arm/mbed-os/tags","blobs_url":"https://api.github.com/repos/paul-szczepanek-arm/mbed-os/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/paul-szczepanek-arm/mbed-os/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/paul-szczepanek-arm/mbed-os/git/refs{/sha}","trees_url":"https://api.github.com/repos/paul-szczepanek-arm/mbed-os/git/trees{/sha}","statuses_url":"https://api.github.com/repos/paul-szczepanek-arm/mbed-os/statuses/{sha}","languages_url":"https://api.github.com/repos/paul-szczepanek-arm/mbed-os/languages","stargazers_url":"https://api.github.com/repos/paul-szczepanek-arm/mbed-os/stargazers","contributors_url":"https://api.github.com/repos/paul-szczepanek-arm/mbed-os/contributors","subscribers_url":"https://api.github.com/repos/paul-szczepanek-arm/mbed-os/subscribers","subscription_url":"https://api.github.com/repos/paul-szczepanek-arm/mbed-os/subscription","commits_url":"https://api.github.com/repos/paul-szczepanek-arm/mbed-os/commits{/sha}","git_commits_url":"https://api.github.com/repos/paul-szczepanek-arm/mbed-os/git/commits{/sha}","comments_url":"https://api.github.com/repos/paul-szczepanek-arm/mbed-os/comments{/number}","issue_comment_url":"https://api.github.com/repos/paul-szczepanek-arm/mbed-os/issues/comments{/number}","contents_url":"https://api.github.com/repos/paul-szczepanek-arm/mbed-os/contents/{+path}","compare_url":"https://api.github.com/repos/paul-szczepanek-arm/mbed-os/compare/{base}...{head}","merges_url":"https://api.github.com/repos/paul-szczepanek-arm/mbed-os/merges","archive_url":"https://api.github.com/repos/paul-szczepanek-arm/mbed-os/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/paul-szczepanek-arm/mbed-os/downloads","issues_url":"https://api.github.com/repos/paul-szczepanek-arm/mbed-os/issues{/number}","pulls_url":"https://api.github.com/repos/paul-szczepanek-arm/mbed-os/pulls{/number}","milestones_url":"https://api.github.com/repos/paul-szczepanek-arm/mbed-os/milestones{/number}","notifications_url":"https://api.github.com/repos/paul-szczepanek-arm/mbed-os/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/paul-szczepanek-arm/mbed-os/labels{/name}","releases_url":"https://api.github.com/repos/paul-szczepanek-arm/mbed-os/releases{/id}","deployments_url":"https://api.github.com/repos/paul-szczepanek-arm/mbed-os/deployments","created_at":"2017-12-01T15:07:30Z","updated_at":"2018-06-01T16:11:24Z","pushed_at":"2018-06-07T16:18:33Z","git_url":"git://github.com/paul-szczepanek-arm/mbed-os.git","ssh_url":"git@github.com:paul-szczepanek-arm/mbed-os.git","clone_url":"https://github.com/paul-szczepanek-arm/mbed-os.git","svn_url":"https://github.com/paul-szczepanek-arm/mbed-os","homepage":"https://mbed.com","size":211152,"stargazers_count":2,"watchers_count":2,"language":"C","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":1,"open_issues":1,"watchers":2,"default_branch":"master"}},"base":{"label":"ARMmbed:master","ref":"master","sha":"74aec930e69d4ad1e38a138525e48b07983fad00","user":{"login":"ARMmbed","id":8916057,"node_id":"MDEyOk9yZ2FuaXphdGlvbjg5MTYwNTc=","avatar_url":"https://avatars3.githubusercontent.com/u/8916057?v=4","gravatar_id":"","url":"https://api.github.com/users/ARMmbed","html_url":"https://github.com/ARMmbed","followers_url":"https://api.github.com/users/ARMmbed/followers","following_url":"https://api.github.com/users/ARMmbed/following{/other_user}","gists_url":"https://api.github.com/users/ARMmbed/gists{/gist_id}","starred_url":"https://api.github.com/users/ARMmbed/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ARMmbed/subscriptions","organizations_url":"https://api.github.com/users/ARMmbed/orgs","repos_url":"https://api.github.com/users/ARMmbed/repos","events_url":"https://api.github.com/users/ARMmbed/events{/privacy}","received_events_url":"https://api.github.com/users/ARMmbed/received_events","type":"Organization","site_admin":false},"repo":{"id":8270972,"node_id":"MDEwOlJlcG9zaXRvcnk4MjcwOTcy","name":"mbed-os","full_name":"ARMmbed/mbed-os","owner":{"login":"ARMmbed","id":8916057,"node_id":"MDEyOk9yZ2FuaXphdGlvbjg5MTYwNTc=","avatar_url":"https://avatars3.githubusercontent.com/u/8916057?v=4","gravatar_id":"","url":"https://api.github.com/users/ARMmbed","html_url":"https://github.com/ARMmbed","followers_url":"https://api.github.com/users/ARMmbed/followers","following_url":"https://api.github.com/users/ARMmbed/following{/other_user}","gists_url":"https://api.github.com/users/ARMmbed/gists{/gist_id}","starred_url":"https://api.github.com/users/ARMmbed/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ARMmbed/subscriptions","organizations_url":"https://api.github.com/users/ARMmbed/orgs","repos_url":"https://api.github.com/users/ARMmbed/repos","events_url":"https://api.github.com/users/ARMmbed/events{/privacy}","received_events_url":"https://api.github.com/users/ARMmbed/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ARMmbed/mbed-os","description":"ARM Mbed OS is a platform operating system designed for the internet of things","fork":false,"url":"https://api.github.com/repos/ARMmbed/mbed-os","forks_url":"https://api.github.com/repos/ARMmbed/mbed-os/forks","keys_url":"https://api.github.com/repos/ARMmbed/mbed-os/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ARMmbed/mbed-os/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ARMmbed/mbed-os/teams","hooks_url":"https://api.github.com/repos/ARMmbed/mbed-os/hooks","issue_events_url":"https://api.github.com/repos/ARMmbed/mbed-os/issues/events{/number}","events_url":"https://api.github.com/repos/ARMmbed/mbed-os/events","assignees_url":"https://api.github.com/repos/ARMmbed/mbed-os/assignees{/user}","branches_url":"https://api.github.com/repos/ARMmbed/mbed-os/branches{/branch}","tags_url":"https://api.github.com/repos/ARMmbed/mbed-os/tags","blobs_url":"https://api.github.com/repos/ARMmbed/mbed-os/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ARMmbed/mbed-os/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ARMmbed/mbed-os/git/refs{/sha}","trees_url":"https://api.github.com/repos/ARMmbed/mbed-os/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ARMmbed/mbed-os/statuses/{sha}","languages_url":"https://api.github.com/repos/ARMmbed/mbed-os/languages","stargazers_url":"https://api.github.com/repos/ARMmbed/mbed-os/stargazers","contributors_url":"https://api.github.com/repos/ARMmbed/mbed-os/contributors","subscribers_url":"https://api.github.com/repos/ARMmbed/mbed-os/subscribers","subscription_url":"https://api.github.com/repos/ARMmbed/mbed-os/subscription","commits_url":"https://api.github.com/repos/ARMmbed/mbed-os/commits{/sha}","git_commits_url":"https://api.github.com/repos/ARMmbed/mbed-os/git/commits{/sha}","comments_url":"https://api.github.com/repos/ARMmbed/mbed-os/comments{/number}","issue_comment_url":"https://api.github.com/repos/ARMmbed/mbed-os/issues/comments{/number}","contents_url":"https://api.github.com/repos/ARMmbed/mbed-os/contents/{+path}","compare_url":"https://api.github.com/repos/ARMmbed/mbed-os/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ARMmbed/mbed-os/merges","archive_url":"https://api.github.com/repos/ARMmbed/mbed-os/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ARMmbed/mbed-os/downloads","issues_url":"https://api.github.com/repos/ARMmbed/mbed-os/issues{/number}","pulls_url":"https://api.github.com/repos/ARMmbed/mbed-os/pulls{/number}","milestones_url":"https://api.github.com/repos/ARMmbed/mbed-os/milestones{/number}","notifications_url":"https://api.github.com/repos/ARMmbed/mbed-os/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ARMmbed/mbed-os/labels{/name}","releases_url":"https://api.github.com/repos/ARMmbed/mbed-os/releases{/id}","deployments_url":"https://api.github.com/repos/ARMmbed/mbed-os/deployments","created_at":"2013-02-18T15:23:11Z","updated_at":"2018-06-14T15:15:01Z","pushed_at":"2018-06-14T15:15:16Z","git_url":"git://github.com/ARMmbed/mbed-os.git","ssh_url":"git@github.com:ARMmbed/mbed-os.git","clone_url":"https://github.com/ARMmbed/mbed-os.git","svn_url":"https://github.com/ARMmbed/mbed-os","homepage":"https://mbed.com","size":215314,"stargazers_count":1696,"watchers_count":1696,"language":"C","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1475,"mirror_url":null,"archived":false,"open_issues_count":483,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":1475,"open_issues":483,"watchers":1696,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ARMmbed/mbed-os/pulls/7123"},"html":{"href":"https://github.com/ARMmbed/mbed-os/pull/7123"},"issue":{"href":"https://api.github.com/repos/ARMmbed/mbed-os/issues/7123"},"comments":{"href":"https://api.github.com/repos/ARMmbed/mbed-os/issues/7123/comments"},"review_comments":{"href":"https://api.github.com/repos/ARMmbed/mbed-os/pulls/7123/comments"},"review_comment":{"href":"https://api.github.com/repos/ARMmbed/mbed-os/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ARMmbed/mbed-os/pulls/7123/commits"},"statuses":{"href":"https://api.github.com/repos/ARMmbed/mbed-os/statuses/265132c5a8ad5fc0fa2e70e2d5423abee7e6c13e"}},"author_association":"CONTRIBUTOR","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"cmonr","id":260086,"node_id":"MDQ6VXNlcjI2MDA4Ng==","avatar_url":"https://avatars1.githubusercontent.com/u/260086?v=4","gravatar_id":"","url":"https://api.github.com/users/cmonr","html_url":"https://github.com/cmonr","followers_url":"https://api.github.com/users/cmonr/followers","following_url":"https://api.github.com/users/cmonr/following{/other_user}","gists_url":"https://api.github.com/users/cmonr/gists{/gist_id}","starred_url":"https://api.github.com/users/cmonr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cmonr/subscriptions","organizations_url":"https://api.github.com/users/cmonr/orgs","repos_url":"https://api.github.com/users/cmonr/repos","events_url":"https://api.github.com/users/cmonr/events{/privacy}","received_events_url":"https://api.github.com/users/cmonr/received_events","type":"User","site_admin":false},"comments":9,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":1,"deletions":1,"changed_files":1}}
{"actor":{"display_login":"cmonr"}}