{"action":"created","issue":{"url":"https://api.github.com/repos/sahaRatul/sela/issues/12","repository_url":"https://api.github.com/repos/sahaRatul/sela","labels_url":"https://api.github.com/repos/sahaRatul/sela/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/sahaRatul/sela/issues/12/comments","events_url":"https://api.github.com/repos/sahaRatul/sela/issues/12/events","html_url":"https://github.com/sahaRatul/sela/issues/12","id":327237723,"number":12,"title":"stack-buffer-overflow in varible keys_inst","user":{"login":"EnchantedJohn","id":24223538,"avatar_url":"https://avatars1.githubusercontent.com/u/24223538?v=4","gravatar_id":"","url":"https://api.github.com/users/EnchantedJohn","html_url":"https://github.com/EnchantedJohn","followers_url":"https://api.github.com/users/EnchantedJohn/followers","following_url":"https://api.github.com/users/EnchantedJohn/following{/other_user}","gists_url":"https://api.github.com/users/EnchantedJohn/gists{/gist_id}","starred_url":"https://api.github.com/users/EnchantedJohn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EnchantedJohn/subscriptions","organizations_url":"https://api.github.com/users/EnchantedJohn/orgs","repos_url":"https://api.github.com/users/EnchantedJohn/repos","events_url":"https://api.github.com/users/EnchantedJohn/events{/privacy}","received_events_url":"https://api.github.com/users/EnchantedJohn/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-05-29T09:24:38Z","updated_at":"2018-05-29T09:30:50Z","closed_at":null,"author_association":"NONE","body":"Hello,I use my company tools to fuzz test on sela.I first found the crash.Then I want to show error information to your guys.\r\n"},"comment":{"url":"https://api.github.com/repos/sahaRatul/sela/issues/comments/392713595","html_url":"https://github.com/sahaRatul/sela/issues/12#issuecomment-392713595","issue_url":"https://api.github.com/repos/sahaRatul/sela/issues/12","id":392713595,"user":{"login":"EnchantedJohn","id":24223538,"avatar_url":"https://avatars1.githubusercontent.com/u/24223538?v=4","gravatar_id":"","url":"https://api.github.com/users/EnchantedJohn","html_url":"https://github.com/EnchantedJohn","followers_url":"https://api.github.com/users/EnchantedJohn/followers","following_url":"https://api.github.com/users/EnchantedJohn/following{/other_user}","gists_url":"https://api.github.com/users/EnchantedJohn/gists{/gist_id}","starred_url":"https://api.github.com/users/EnchantedJohn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EnchantedJohn/subscriptions","organizations_url":"https://api.github.com/users/EnchantedJohn/orgs","repos_url":"https://api.github.com/users/EnchantedJohn/repos","events_url":"https://api.github.com/users/EnchantedJohn/events{/privacy}","received_events_url":"https://api.github.com/users/EnchantedJohn/received_events","type":"User","site_admin":false},"created_at":"2018-05-29T09:30:50Z","updated_at":"2018-05-29T09:30:50Z","author_association":"NONE","body":"I think stack-buffer-overflow is due to varible  keys_inst. and finally div zero.\r\nthen I want to show the encode.c:\r\n\r\n```\r\n85 \r\n 86         //Metadata data structures\r\n 87         wav_tags tags;\r\n 88         apev2_state state;\r\n 89         apev2_keys keys_inst;    //I think it is the key problem \r\n 90         apev2_hdr_ftr header;\r\n 91         apev2_item_list ape_list;\r\n 92 \r\n 93         //Init wav tags\r\n 94         init_wav_tags(&tags);\r\n 95 \r\n 96         //Init apev2 state\r\n 97         init_apev2(&state);\r\n 98 \r\n 99         //Init apev2 keys\r\n100         init_apev2_keys(&state,&keys_inst);\r\n101 \r\n102         //Init apev2 header\r\n103         init_apev2_header(&state,&header);\r\n104 \r\n105         //Init apev2 item link list\r\n106         init_apev2_item_list(&state,&ape_list);\r\n107 \r\n108         //Check the wav file\r\n109         int32_t is_wav = check_wav_file(infile,&sample_rate,&channels,&bps,&samples,&tags);\r\n110         uint32_t estimated_frames = ceil((float)samples/(channels * BLOCK_SIZE * sizeof(int16_t)));\r\n```"}}
{"actor":{"display_login":"EnchantedJohn"}}