{"action":"created","issue":{"url":"https://api.github.com/repos/defuse/crackstation-hashdb/issues/1","repository_url":"https://api.github.com/repos/defuse/crackstation-hashdb","labels_url":"https://api.github.com/repos/defuse/crackstation-hashdb/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/defuse/crackstation-hashdb/issues/1/comments","events_url":"https://api.github.com/repos/defuse/crackstation-hashdb/issues/1/events","html_url":"https://github.com/defuse/crackstation-hashdb/issues/1","id":42141671,"number":1,"title":"bug in checksort.c [PULL REQUEST]","user":{"login":"erplefoo","id":4955822,"avatar_url":"https://avatars.githubusercontent.com/u/4955822?v=3","gravatar_id":"","url":"https://api.github.com/users/erplefoo","html_url":"https://github.com/erplefoo","followers_url":"https://api.github.com/users/erplefoo/followers","following_url":"https://api.github.com/users/erplefoo/following{/other_user}","gists_url":"https://api.github.com/users/erplefoo/gists{/gist_id}","starred_url":"https://api.github.com/users/erplefoo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/erplefoo/subscriptions","organizations_url":"https://api.github.com/users/erplefoo/orgs","repos_url":"https://api.github.com/users/erplefoo/repos","events_url":"https://api.github.com/users/erplefoo/events{/privacy}","received_events_url":"https://api.github.com/users/erplefoo/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2014-09-07T13:02:16Z","updated_at":"2016-02-25T21:39:03Z","closed_at":"2016-02-25T21:39:03Z","body":"Since the current and max structs are not initialized in main(), the checksort program would often tell me an index was not sorted -- but when run over and over, tell me it was sometimes.\r\n\r\nAdding memset(&current,0,sizeof(current)) and memset(&max,0,sizeof(max)) fixed this.\r\n\r\nIf you are still maintaining this, shall I submit a patch? (I also added checks on the fread() calls to quiet down GCC warnings)"},"comment":{"url":"https://api.github.com/repos/defuse/crackstation-hashdb/issues/comments/188998664","html_url":"https://github.com/defuse/crackstation-hashdb/issues/1#issuecomment-188998664","issue_url":"https://api.github.com/repos/defuse/crackstation-hashdb/issues/1","id":188998664,"user":{"login":"defuse","id":4211072,"avatar_url":"https://avatars.githubusercontent.com/u/4211072?v=3","gravatar_id":"","url":"https://api.github.com/users/defuse","html_url":"https://github.com/defuse","followers_url":"https://api.github.com/users/defuse/followers","following_url":"https://api.github.com/users/defuse/following{/other_user}","gists_url":"https://api.github.com/users/defuse/gists{/gist_id}","starred_url":"https://api.github.com/users/defuse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/defuse/subscriptions","organizations_url":"https://api.github.com/users/defuse/orgs","repos_url":"https://api.github.com/users/defuse/repos","events_url":"https://api.github.com/users/defuse/events{/privacy}","received_events_url":"https://api.github.com/users/defuse/received_events","type":"User","site_admin":false},"created_at":"2016-02-25T21:39:02Z","updated_at":"2016-02-25T21:39:02Z","body":"Applied the patch, great work!"}}