{"action":"created","issue":{"url":"https://api.github.com/repos/VerizonDigital/json_parser/issues/3","repository_url":"https://api.github.com/repos/VerizonDigital/json_parser","labels_url":"https://api.github.com/repos/VerizonDigital/json_parser/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/VerizonDigital/json_parser/issues/3/comments","events_url":"https://api.github.com/repos/VerizonDigital/json_parser/issues/3/events","html_url":"https://github.com/VerizonDigital/json_parser/issues/3","id":385892568,"node_id":"MDU6SXNzdWUzODU4OTI1Njg=","number":3,"title":"Memory Leak in json_parser.h","user":{"login":"adoszpy","id":45338821,"node_id":"MDQ6VXNlcjQ1MzM4ODIx","avatar_url":"https://avatars2.githubusercontent.com/u/45338821?v=4","gravatar_id":"","url":"https://api.github.com/users/adoszpy","html_url":"https://github.com/adoszpy","followers_url":"https://api.github.com/users/adoszpy/followers","following_url":"https://api.github.com/users/adoszpy/following{/other_user}","gists_url":"https://api.github.com/users/adoszpy/gists{/gist_id}","starred_url":"https://api.github.com/users/adoszpy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adoszpy/subscriptions","organizations_url":"https://api.github.com/users/adoszpy/orgs","repos_url":"https://api.github.com/users/adoszpy/repos","events_url":"https://api.github.com/users/adoszpy/events{/privacy}","received_events_url":"https://api.github.com/users/adoszpy/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-11-29T19:33:30Z","updated_at":"2018-11-29T21:35:08Z","closed_at":"2018-11-29T21:35:08Z","author_association":"NONE","body":"Hi,\r\n\r\nwith libFuzzer I could identify a memory leak issue in json_parser.h.\r\nThe payload which was generated by the fuzzer is the following: {\"\"{}\"\"{\r\nThis payload can cause the memory leak and there is not any WARN or ERROR although this is not a valid input.\r\nHere is the report of the LeakSanitizer:\r\n==3905==ERROR: LeakSanitizer: detected memory leaks\r\nDirect leak of 104 byte(s) in 1 object(s) allocated from:\r\n…\r\n    #1 0x4efc37 in json::value::parse(subbuffer&) /json_parser/include/json_parser.h:639:38\r\n…\r\n"},"comment":{"url":"https://api.github.com/repos/VerizonDigital/json_parser/issues/comments/443001660","html_url":"https://github.com/VerizonDigital/json_parser/issues/3#issuecomment-443001660","issue_url":"https://api.github.com/repos/VerizonDigital/json_parser/issues/3","id":443001660,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0MzAwMTY2MA==","user":{"login":"dsyeager","id":12753227,"node_id":"MDQ6VXNlcjEyNzUzMjI3","avatar_url":"https://avatars1.githubusercontent.com/u/12753227?v=4","gravatar_id":"","url":"https://api.github.com/users/dsyeager","html_url":"https://github.com/dsyeager","followers_url":"https://api.github.com/users/dsyeager/followers","following_url":"https://api.github.com/users/dsyeager/following{/other_user}","gists_url":"https://api.github.com/users/dsyeager/gists{/gist_id}","starred_url":"https://api.github.com/users/dsyeager/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dsyeager/subscriptions","organizations_url":"https://api.github.com/users/dsyeager/orgs","repos_url":"https://api.github.com/users/dsyeager/repos","events_url":"https://api.github.com/users/dsyeager/events{/privacy}","received_events_url":"https://api.github.com/users/dsyeager/received_events","type":"User","site_admin":false},"created_at":"2018-11-29T21:35:08Z","updated_at":"2018-11-29T21:35:08Z","author_association":"CONTRIBUTOR","body":"The object::parse method was not validating that the passed in json was valid.\r\nIt is now checking for:\r\n- empty keys\r\n- missing colons\r\n- missing commas\r\n- missing closing }"}}
{"actor":{"display_login":"dsyeager"}}