{"action":"created","issue":{"url":"https://api.github.com/repos/openssl/openssl/issues/614","repository_url":"https://api.github.com/repos/openssl/openssl","labels_url":"https://api.github.com/repos/openssl/openssl/issues/614/labels{/name}","comments_url":"https://api.github.com/repos/openssl/openssl/issues/614/comments","events_url":"https://api.github.com/repos/openssl/openssl/issues/614/events","html_url":"https://github.com/openssl/openssl/pull/614","id":130942781,"number":614,"title":"Use memcpy() when possible","user":{"login":"Dmitry-Me","id":1277095,"avatar_url":"https://avatars.githubusercontent.com/u/1277095?v=3","gravatar_id":"","url":"https://api.github.com/users/Dmitry-Me","html_url":"https://github.com/Dmitry-Me","followers_url":"https://api.github.com/users/Dmitry-Me/followers","following_url":"https://api.github.com/users/Dmitry-Me/following{/other_user}","gists_url":"https://api.github.com/users/Dmitry-Me/gists{/gist_id}","starred_url":"https://api.github.com/users/Dmitry-Me/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Dmitry-Me/subscriptions","organizations_url":"https://api.github.com/users/Dmitry-Me/orgs","repos_url":"https://api.github.com/users/Dmitry-Me/repos","events_url":"https://api.github.com/users/Dmitry-Me/events{/privacy}","received_events_url":"https://api.github.com/users/Dmitry-Me/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/openssl/openssl/labels/reviewed","name":"reviewed","color":"009800"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-02-03T07:45:25Z","updated_at":"2016-02-03T18:22:11Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/openssl/openssl/pulls/614","html_url":"https://github.com/openssl/openssl/pull/614","diff_url":"https://github.com/openssl/openssl/pull/614.diff","patch_url":"https://github.com/openssl/openssl/pull/614.patch"},"body":"There's no point in calling `strlen()` and then `strcpy()` - just remember what `strlen()` returned and then use `memcpy()`. The original code causes more questions than needed and will likely be broken when being adapted to \"secure string functions\" like `strcpy_s()`."},"comment":{"url":"https://api.github.com/repos/openssl/openssl/issues/comments/179388604","html_url":"https://github.com/openssl/openssl/pull/614#issuecomment-179388604","issue_url":"https://api.github.com/repos/openssl/openssl/issues/614","id":179388604,"user":{"login":"richsalz","id":7332500,"avatar_url":"https://avatars.githubusercontent.com/u/7332500?v=3","gravatar_id":"","url":"https://api.github.com/users/richsalz","html_url":"https://github.com/richsalz","followers_url":"https://api.github.com/users/richsalz/followers","following_url":"https://api.github.com/users/richsalz/following{/other_user}","gists_url":"https://api.github.com/users/richsalz/gists{/gist_id}","starred_url":"https://api.github.com/users/richsalz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/richsalz/subscriptions","organizations_url":"https://api.github.com/users/richsalz/orgs","repos_url":"https://api.github.com/users/richsalz/repos","events_url":"https://api.github.com/users/richsalz/events{/privacy}","received_events_url":"https://api.github.com/users/richsalz/received_events","type":"User","site_admin":false},"created_at":"2016-02-03T18:22:11Z","updated_at":"2016-02-03T18:22:11Z","body":"+1  didn't notice the update.  yup."}}