{"action":"created","issue":{"url":"https://api.github.com/repos/glennrp/libpng/issues/269","repository_url":"https://api.github.com/repos/glennrp/libpng","labels_url":"https://api.github.com/repos/glennrp/libpng/issues/269/labels{/name}","comments_url":"https://api.github.com/repos/glennrp/libpng/issues/269/comments","events_url":"https://api.github.com/repos/glennrp/libpng/issues/269/events","html_url":"https://github.com/glennrp/libpng/issues/269","id":396141975,"node_id":"MDU6SXNzdWUzOTYxNDE5NzU=","number":269,"title":"memory leak in png_create_info_struct","user":{"login":"zerokeeper","id":18204909,"node_id":"MDQ6VXNlcjE4MjA0OTA5","avatar_url":"https://avatars3.githubusercontent.com/u/18204909?v=4","gravatar_id":"","url":"https://api.github.com/users/zerokeeper","html_url":"https://github.com/zerokeeper","followers_url":"https://api.github.com/users/zerokeeper/followers","following_url":"https://api.github.com/users/zerokeeper/following{/other_user}","gists_url":"https://api.github.com/users/zerokeeper/gists{/gist_id}","starred_url":"https://api.github.com/users/zerokeeper/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zerokeeper/subscriptions","organizations_url":"https://api.github.com/users/zerokeeper/orgs","repos_url":"https://api.github.com/users/zerokeeper/repos","events_url":"https://api.github.com/users/zerokeeper/events{/privacy}","received_events_url":"https://api.github.com/users/zerokeeper/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2019-01-05T07:23:28Z","updated_at":"2019-05-09T08:37:18Z","closed_at":null,"author_association":"NONE","body":"Hi,libpng team. there is a memory leak  in the  file png.c:368 of  function png_create_info_struct.\r\nthe bug is trigered by `./pngcp  poc  /dev/null`\r\n\r\n\r\n[libpng_poc.zip](https://github.com/glennrp/libpng/files/2729282/libpng_poc.zip)\r\n\r\nthe asan debug info is as follows:\r\n\r\n=================================================================\r\n==10300==ERROR: LeakSanitizer: detected memory leaks\r\n\r\nDirect leak of 360 byte(s) in 1 object(s) allocated from:\r\n    #0 0x7fe088bf9602 in malloc (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x98602)\r\n    #1 0x422f95 in png_create_info_struct /root/fuzz/libpng-1.6.36/png.c:368\r\n\r\nSUMMARY: AddressSanitizer: 360 byte(s) leaked in 1 allocation(s).\r\n\r\nhttps://github.com/glennrp/libpng/blob/eddf9023206dc40974c26f589ee2ad63a4227a1e/png.c#L352-L376"},"comment":{"url":"https://api.github.com/repos/glennrp/libpng/issues/comments/490811990","html_url":"https://github.com/glennrp/libpng/issues/269#issuecomment-490811990","issue_url":"https://api.github.com/repos/glennrp/libpng/issues/269","id":490811990,"node_id":"MDEyOklzc3VlQ29tbWVudDQ5MDgxMTk5MA==","user":{"login":"xiao623","id":13847159,"node_id":"MDQ6VXNlcjEzODQ3MTU5","avatar_url":"https://avatars1.githubusercontent.com/u/13847159?v=4","gravatar_id":"","url":"https://api.github.com/users/xiao623","html_url":"https://github.com/xiao623","followers_url":"https://api.github.com/users/xiao623/followers","following_url":"https://api.github.com/users/xiao623/following{/other_user}","gists_url":"https://api.github.com/users/xiao623/gists{/gist_id}","starred_url":"https://api.github.com/users/xiao623/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xiao623/subscriptions","organizations_url":"https://api.github.com/users/xiao623/orgs","repos_url":"https://api.github.com/users/xiao623/repos","events_url":"https://api.github.com/users/xiao623/events{/privacy}","received_events_url":"https://api.github.com/users/xiao623/received_events","type":"User","site_admin":false},"created_at":"2019-05-09T08:37:18Z","updated_at":"2019-05-09T08:37:18Z","author_association":"NONE","body":"Hi, is this issue solved?"}}
{"actor":{"display_login":"xiao623"}}