{"action":"created","issue":{"url":"https://api.github.com/repos/jedisct1/swift-sodium/issues/156","repository_url":"https://api.github.com/repos/jedisct1/swift-sodium","labels_url":"https://api.github.com/repos/jedisct1/swift-sodium/issues/156/labels{/name}","comments_url":"https://api.github.com/repos/jedisct1/swift-sodium/issues/156/comments","events_url":"https://api.github.com/repos/jedisct1/swift-sodium/issues/156/events","html_url":"https://github.com/jedisct1/swift-sodium/pull/156","id":329549084,"node_id":"MDExOlB1bGxSZXF1ZXN0MTkyNzc4Mjg5","number":156,"title":"Fix Swift 4.2 exclusive memory access errors","user":{"login":"Westacular","id":487498,"node_id":"MDQ6VXNlcjQ4NzQ5OA==","avatar_url":"https://avatars2.githubusercontent.com/u/487498?v=4","gravatar_id":"","url":"https://api.github.com/users/Westacular","html_url":"https://github.com/Westacular","followers_url":"https://api.github.com/users/Westacular/followers","following_url":"https://api.github.com/users/Westacular/following{/other_user}","gists_url":"https://api.github.com/users/Westacular/gists{/gist_id}","starred_url":"https://api.github.com/users/Westacular/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Westacular/subscriptions","organizations_url":"https://api.github.com/users/Westacular/orgs","repos_url":"https://api.github.com/users/Westacular/repos","events_url":"https://api.github.com/users/Westacular/events{/privacy}","received_events_url":"https://api.github.com/users/Westacular/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-06-05T17:14:22Z","updated_at":"2018-08-08T15:44:39Z","closed_at":null,"author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/jedisct1/swift-sodium/pulls/156","html_url":"https://github.com/jedisct1/swift-sodium/pull/156","diff_url":"https://github.com/jedisct1/swift-sodium/pull/156.diff","patch_url":"https://github.com/jedisct1/swift-sodium/pull/156.patch"},"body":"Fix for #155 \r\n\r\nThis is intended as a hot fix against tag 0.6 but since there's no release branch I can't point the PR at that directly.\r\n\r\nChanges are simply to capture the `.count` computed property values into local variables before each `withUnsafeMutableBytes` call to avoid exclusive access errors, as described at https://forums.swift.org/t/upgrading-exclusive-access-warning-to-be-an-error-in-swift-4-2/12704"},"comment":{"url":"https://api.github.com/repos/jedisct1/swift-sodium/issues/comments/411453341","html_url":"https://github.com/jedisct1/swift-sodium/pull/156#issuecomment-411453341","issue_url":"https://api.github.com/repos/jedisct1/swift-sodium/issues/156","id":411453341,"node_id":"MDEyOklzc3VlQ29tbWVudDQxMTQ1MzM0MQ==","user":{"login":"jedisct1","id":124872,"node_id":"MDQ6VXNlcjEyNDg3Mg==","avatar_url":"https://avatars2.githubusercontent.com/u/124872?v=4","gravatar_id":"","url":"https://api.github.com/users/jedisct1","html_url":"https://github.com/jedisct1","followers_url":"https://api.github.com/users/jedisct1/followers","following_url":"https://api.github.com/users/jedisct1/following{/other_user}","gists_url":"https://api.github.com/users/jedisct1/gists{/gist_id}","starred_url":"https://api.github.com/users/jedisct1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jedisct1/subscriptions","organizations_url":"https://api.github.com/users/jedisct1/orgs","repos_url":"https://api.github.com/users/jedisct1/repos","events_url":"https://api.github.com/users/jedisct1/events{/privacy}","received_events_url":"https://api.github.com/users/jedisct1/received_events","type":"User","site_admin":false},"created_at":"2018-08-08T15:44:39Z","updated_at":"2018-08-08T15:44:39Z","author_association":"OWNER","body":"Why backport it? Would a new release from the current master work?"}}
{"actor":{"display_login":"jedisct1"}}