{"action":"created","issue":{"url":"https://api.github.com/repos/ARMmbed/mbed-os/issues/7857","repository_url":"https://api.github.com/repos/ARMmbed/mbed-os","labels_url":"https://api.github.com/repos/ARMmbed/mbed-os/issues/7857/labels{/name}","comments_url":"https://api.github.com/repos/ARMmbed/mbed-os/issues/7857/comments","events_url":"https://api.github.com/repos/ARMmbed/mbed-os/issues/7857/events","html_url":"https://github.com/ARMmbed/mbed-os/pull/7857","id":352893298,"node_id":"MDExOlB1bGxSZXF1ZXN0MjEwMDg3OTg2","number":7857,"title":"Cellular: Make AT_CellularStack socket array multi-thread safe","user":{"login":"AriParkkila","id":26764770,"node_id":"MDQ6VXNlcjI2NzY0Nzcw","avatar_url":"https://avatars3.githubusercontent.com/u/26764770?v=4","gravatar_id":"","url":"https://api.github.com/users/AriParkkila","html_url":"https://github.com/AriParkkila","followers_url":"https://api.github.com/users/AriParkkila/followers","following_url":"https://api.github.com/users/AriParkkila/following{/other_user}","gists_url":"https://api.github.com/users/AriParkkila/gists{/gist_id}","starred_url":"https://api.github.com/users/AriParkkila/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AriParkkila/subscriptions","organizations_url":"https://api.github.com/users/AriParkkila/orgs","repos_url":"https://api.github.com/users/AriParkkila/repos","events_url":"https://api.github.com/users/AriParkkila/events{/privacy}","received_events_url":"https://api.github.com/users/AriParkkila/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-08-22T10:28:03Z","updated_at":"2018-08-22T10:28:28Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/ARMmbed/mbed-os/pulls/7857","html_url":"https://github.com/ARMmbed/mbed-os/pull/7857","diff_url":"https://github.com/ARMmbed/mbed-os/pull/7857.diff","patch_url":"https://github.com/ARMmbed/mbed-os/pull/7857.patch"},"body":"### Description\r\n\r\nThe socket array `_sockets` was not multi-thread safe. That could be a problem if two threads try to open socket at the same.\r\n\r\nIn socket_close() was  `delete socket` called erroneously before calling `socket_close_impl`, that may still use that socket.\r\n\r\n### Pull request type\r\n\r\n    [X] Fix\r\n    [ ] Refactor\r\n    [ ] Target update\r\n    [ ] Functionality change\r\n    [ ] Breaking change\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/ARMmbed/mbed-os/issues/comments/414987015","html_url":"https://github.com/ARMmbed/mbed-os/pull/7857#issuecomment-414987015","issue_url":"https://api.github.com/repos/ARMmbed/mbed-os/issues/7857","id":414987015,"node_id":"MDEyOklzc3VlQ29tbWVudDQxNDk4NzAxNQ==","user":{"login":"AriParkkila","id":26764770,"node_id":"MDQ6VXNlcjI2NzY0Nzcw","avatar_url":"https://avatars3.githubusercontent.com/u/26764770?v=4","gravatar_id":"","url":"https://api.github.com/users/AriParkkila","html_url":"https://github.com/AriParkkila","followers_url":"https://api.github.com/users/AriParkkila/followers","following_url":"https://api.github.com/users/AriParkkila/following{/other_user}","gists_url":"https://api.github.com/users/AriParkkila/gists{/gist_id}","starred_url":"https://api.github.com/users/AriParkkila/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AriParkkila/subscriptions","organizations_url":"https://api.github.com/users/AriParkkila/orgs","repos_url":"https://api.github.com/users/AriParkkila/repos","events_url":"https://api.github.com/users/AriParkkila/events{/privacy}","received_events_url":"https://api.github.com/users/AriParkkila/received_events","type":"User","site_admin":false},"created_at":"2018-08-22T10:28:28Z","updated_at":"2018-08-22T10:28:28Z","author_association":"CONTRIBUTOR","body":"@mirelachirica please review"}}
{"actor":{"display_login":"AriParkkila"}}