{"action":"opened","issue":{"url":"https://api.github.com/repos/IEEEICSG/IEEE_Taggant_System/issues/8","labels_url":"https://api.github.com/repos/IEEEICSG/IEEE_Taggant_System/issues/8/labels{/name}","comments_url":"https://api.github.com/repos/IEEEICSG/IEEE_Taggant_System/issues/8/comments","events_url":"https://api.github.com/repos/IEEEICSG/IEEE_Taggant_System/issues/8/events","html_url":"https://github.com/IEEEICSG/IEEE_Taggant_System/issues/8","id":55847247,"number":8,"title":"Potential double free issue in timestamp.c","user":{"login":"noobpwnftw","id":10750762,"avatar_url":"https://avatars.githubusercontent.com/u/10750762?v=3","gravatar_id":"","url":"https://api.github.com/users/noobpwnftw","html_url":"https://github.com/noobpwnftw","followers_url":"https://api.github.com/users/noobpwnftw/followers","following_url":"https://api.github.com/users/noobpwnftw/following{/other_user}","gists_url":"https://api.github.com/users/noobpwnftw/gists{/gist_id}","starred_url":"https://api.github.com/users/noobpwnftw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/noobpwnftw/subscriptions","organizations_url":"https://api.github.com/users/noobpwnftw/orgs","repos_url":"https://api.github.com/users/noobpwnftw/repos","events_url":"https://api.github.com/users/noobpwnftw/events{/privacy}","received_events_url":"https://api.github.com/users/noobpwnftw/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-01-29T02:24:08Z","updated_at":"2015-01-29T02:24:08Z","closed_at":null,"body":"After inspecting a crash case during taggant creation, I suspect that this probably the cause:\r\n\r\nIn timpstamp.c line 270:\r\nmemory_free(resultBuffer);\r\n\r\nHere the memory of the pointer \"resultBuffer\" is freed but the pointer is not set to NULL, if anything happens in the second iteration, i.e. the \"http_read\" function failed due to some error, this memory pointer is freed again in line 334 which will cause a crash."}}