{"action":"closed","issue":{"url":"https://api.github.com/repos/trezor/trezor-mcu/issues/30","labels_url":"https://api.github.com/repos/trezor/trezor-mcu/issues/30/labels{/name}","comments_url":"https://api.github.com/repos/trezor/trezor-mcu/issues/30/comments","events_url":"https://api.github.com/repos/trezor/trezor-mcu/issues/30/events","html_url":"https://github.com/trezor/trezor-mcu/issues/30","id":77590794,"number":30,"title":"Incorrect usage of memset in fsm.c?","user":{"login":"roosmaa","id":65596,"avatar_url":"https://avatars.githubusercontent.com/u/65596?v=3","gravatar_id":"","url":"https://api.github.com/users/roosmaa","html_url":"https://github.com/roosmaa","followers_url":"https://api.github.com/users/roosmaa/followers","following_url":"https://api.github.com/users/roosmaa/following{/other_user}","gists_url":"https://api.github.com/users/roosmaa/gists{/gist_id}","starred_url":"https://api.github.com/users/roosmaa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/roosmaa/subscriptions","organizations_url":"https://api.github.com/users/roosmaa/orgs","repos_url":"https://api.github.com/users/roosmaa/repos","events_url":"https://api.github.com/users/roosmaa/events{/privacy}","received_events_url":"https://api.github.com/users/roosmaa/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-05-18T09:58:53Z","updated_at":"2015-05-18T11:38:14Z","closed_at":"2015-05-18T11:38:14Z","body":"I'm trying to compile the firmware with GCC 5.1 and it complained about the following in\r\n[fsm.c:798](https://github.com/trezor/trezor-mcu/blob/72f2f5ced64bd6eccef3840ad333f2909284d207/firmware/fsm.c#L798-799):\r\n```c\r\nmemset(resp->address, sizeof(resp->address), 0);\r\nmemset(&(resp->message), sizeof(resp->message), 0);\r\n```\r\n\r\nLooks like the arguments order has been mixed up?"}}