{"action":"created","issue":{"url":"https://api.github.com/repos/python-pillow/Pillow/issues/3225","repository_url":"https://api.github.com/repos/python-pillow/Pillow","labels_url":"https://api.github.com/repos/python-pillow/Pillow/issues/3225/labels{/name}","comments_url":"https://api.github.com/repos/python-pillow/Pillow/issues/3225/comments","events_url":"https://api.github.com/repos/python-pillow/Pillow/issues/3225/events","html_url":"https://github.com/python-pillow/Pillow/pull/3225","id":337590574,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk4NzM0NDQ1","number":3225,"title":"Use explicit memcpy() to avoid unaligned memory accesses","user":{"login":"DerDakon","id":10909049,"node_id":"MDQ6VXNlcjEwOTA5MDQ5","avatar_url":"https://avatars1.githubusercontent.com/u/10909049?v=4","gravatar_id":"","url":"https://api.github.com/users/DerDakon","html_url":"https://github.com/DerDakon","followers_url":"https://api.github.com/users/DerDakon/followers","following_url":"https://api.github.com/users/DerDakon/following{/other_user}","gists_url":"https://api.github.com/users/DerDakon/gists{/gist_id}","starred_url":"https://api.github.com/users/DerDakon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DerDakon/subscriptions","organizations_url":"https://api.github.com/users/DerDakon/orgs","repos_url":"https://api.github.com/users/DerDakon/repos","events_url":"https://api.github.com/users/DerDakon/events{/privacy}","received_events_url":"https://api.github.com/users/DerDakon/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-07-02T16:46:16Z","updated_at":"2018-08-13T20:12:36Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/python-pillow/Pillow/pulls/3225","html_url":"https://github.com/python-pillow/Pillow/pull/3225","diff_url":"https://github.com/python-pillow/Pillow/pull/3225.diff","patch_url":"https://github.com/python-pillow/Pillow/pull/3225.patch"},"body":"Fixes #3213.\r\n\r\nThis replaces casts of incoming memory with explicit memcpy(). Some platforms, especially Sparc, but also ARM and Itanium, do not like unaligned memory accesses and may lack from slowdowns or crashes as result of those if the incoming memory is not aligned to the expected access type. Using memcpy() will avoid this: the compiler will optimize this to direct unaligned accesses on platforms that support those operations, and will do whatever copy operation is needed on platforms that do not."},"comment":{"url":"https://api.github.com/repos/python-pillow/Pillow/issues/comments/412647785","html_url":"https://github.com/python-pillow/Pillow/pull/3225#issuecomment-412647785","issue_url":"https://api.github.com/repos/python-pillow/Pillow/issues/3225","id":412647785,"node_id":"MDEyOklzc3VlQ29tbWVudDQxMjY0Nzc4NQ==","user":{"login":"DerDakon","id":10909049,"node_id":"MDQ6VXNlcjEwOTA5MDQ5","avatar_url":"https://avatars1.githubusercontent.com/u/10909049?v=4","gravatar_id":"","url":"https://api.github.com/users/DerDakon","html_url":"https://github.com/DerDakon","followers_url":"https://api.github.com/users/DerDakon/followers","following_url":"https://api.github.com/users/DerDakon/following{/other_user}","gists_url":"https://api.github.com/users/DerDakon/gists{/gist_id}","starred_url":"https://api.github.com/users/DerDakon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DerDakon/subscriptions","organizations_url":"https://api.github.com/users/DerDakon/orgs","repos_url":"https://api.github.com/users/DerDakon/repos","events_url":"https://api.github.com/users/DerDakon/events{/privacy}","received_events_url":"https://api.github.com/users/DerDakon/received_events","type":"User","site_admin":false},"created_at":"2018-08-13T20:12:36Z","updated_at":"2018-08-13T20:12:36Z","author_association":"CONTRIBUTOR","body":"Ping?"}}
{"actor":{"display_login":"DerDakon"}}