{"action":"created","issue":{"url":"https://api.github.com/repos/TimJung/Passageway/issues/1","labels_url":"https://api.github.com/repos/TimJung/Passageway/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/TimJung/Passageway/issues/1/comments","events_url":"https://api.github.com/repos/TimJung/Passageway/issues/1/events","html_url":"https://github.com/TimJung/Passageway/issues/1","id":116012563,"number":1,"title":"Memory leak in pi.c","user":{"login":"dulimarta","id":3125417,"avatar_url":"https://avatars.githubusercontent.com/u/3125417?v=3","gravatar_id":"","url":"https://api.github.com/users/dulimarta","html_url":"https://github.com/dulimarta","followers_url":"https://api.github.com/users/dulimarta/followers","following_url":"https://api.github.com/users/dulimarta/following{/other_user}","gists_url":"https://api.github.com/users/dulimarta/gists{/gist_id}","starred_url":"https://api.github.com/users/dulimarta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dulimarta/subscriptions","organizations_url":"https://api.github.com/users/dulimarta/orgs","repos_url":"https://api.github.com/users/dulimarta/repos","events_url":"https://api.github.com/users/dulimarta/events{/privacy}","received_events_url":"https://api.github.com/users/dulimarta/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/TimJung/Passageway/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":{"login":"teitsmch","id":14099579,"avatar_url":"https://avatars.githubusercontent.com/u/14099579?v=3","gravatar_id":"","url":"https://api.github.com/users/teitsmch","html_url":"https://github.com/teitsmch","followers_url":"https://api.github.com/users/teitsmch/followers","following_url":"https://api.github.com/users/teitsmch/following{/other_user}","gists_url":"https://api.github.com/users/teitsmch/gists{/gist_id}","starred_url":"https://api.github.com/users/teitsmch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/teitsmch/subscriptions","organizations_url":"https://api.github.com/users/teitsmch/orgs","repos_url":"https://api.github.com/users/teitsmch/repos","events_url":"https://api.github.com/users/teitsmch/events{/privacy}","received_events_url":"https://api.github.com/users/teitsmch/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2015-11-10T02:32:40Z","updated_at":"2015-12-02T00:56:40Z","closed_at":"2015-12-02T00:54:41Z","body":"The `concat` function calls malloc() without calling free(). Over a longer period of run-time, the program will run out of memory and crash. To avoid the problem, replace the concat multiple calls with one `sprintf()` call:\r\n\r\n```\r\nsprintf (parseObjJSON, \"{\\\"pid\\\":\\\"%s\\\", \\\"start\\\":%lu, \\\"end\\\":%lu, }\", pid, start_time, end_time);\r\n```"},"comment":{"url":"https://api.github.com/repos/TimJung/Passageway/issues/comments/161145074","html_url":"https://github.com/TimJung/Passageway/issues/1#issuecomment-161145074","issue_url":"https://api.github.com/repos/TimJung/Passageway/issues/1","id":161145074,"user":{"login":"JaxonWright","id":14099593,"avatar_url":"https://avatars.githubusercontent.com/u/14099593?v=3","gravatar_id":"","url":"https://api.github.com/users/JaxonWright","html_url":"https://github.com/JaxonWright","followers_url":"https://api.github.com/users/JaxonWright/followers","following_url":"https://api.github.com/users/JaxonWright/following{/other_user}","gists_url":"https://api.github.com/users/JaxonWright/gists{/gist_id}","starred_url":"https://api.github.com/users/JaxonWright/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JaxonWright/subscriptions","organizations_url":"https://api.github.com/users/JaxonWright/orgs","repos_url":"https://api.github.com/users/JaxonWright/repos","events_url":"https://api.github.com/users/JaxonWright/events{/privacy}","received_events_url":"https://api.github.com/users/JaxonWright/received_events","type":"User","site_admin":false},"created_at":"2015-12-02T00:56:40Z","updated_at":"2015-12-02T00:56:40Z","body":"this was fixed a while ago"}}