{"action":"closed","issue":{"url":"https://api.github.com/repos/fukuchi/libqrencode/issues/59","labels_url":"https://api.github.com/repos/fukuchi/libqrencode/issues/59/labels{/name}","comments_url":"https://api.github.com/repos/fukuchi/libqrencode/issues/59/comments","events_url":"https://api.github.com/repos/fukuchi/libqrencode/issues/59/events","html_url":"https://github.com/fukuchi/libqrencode/issues/59","id":54293946,"number":59,"title":"cppcheck: out of bounds access","user":{"login":"win32asm","id":1814757,"avatar_url":"https://avatars.githubusercontent.com/u/1814757?v=3","gravatar_id":"","url":"https://api.github.com/users/win32asm","html_url":"https://github.com/win32asm","followers_url":"https://api.github.com/users/win32asm/followers","following_url":"https://api.github.com/users/win32asm/following{/other_user}","gists_url":"https://api.github.com/users/win32asm/gists{/gist_id}","starred_url":"https://api.github.com/users/win32asm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/win32asm/subscriptions","organizations_url":"https://api.github.com/users/win32asm/orgs","repos_url":"https://api.github.com/users/win32asm/repos","events_url":"https://api.github.com/users/win32asm/events{/privacy}","received_events_url":"https://api.github.com/users/win32asm/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-01-14T08:00:29Z","updated_at":"2015-05-04T13:49:58Z","closed_at":"2015-05-04T13:49:58Z","body":"ARGB has 4 components to save now...\r\n```\r\ndiff --git a/qrenc.c b/qrenc.c\r\nindex 78f1c12..796ab01 100644\r\n--- a/qrenc.c\r\n+++ b/qrenc.c\r\n@@ -189,7 +189,7 @@ static int color_set(unsigned char color[4], const char *value)\r\n {\r\n        int len = strlen(value);\r\n        int i, count;\r\n-       unsigned int col[3];\r\n+       unsigned int col[4];\r\n        if(len == 6) {\r\n                count = sscanf(value, \"%02x%02x%02x%n\", &col[0], &col[1], &col[2], &len);\r\n                if(count < 3 || len != 6) {\r\n```"}}