{"action":"opened","issue":{"url":"https://api.github.com/repos/benmcollins/libjwt/issues/2","labels_url":"https://api.github.com/repos/benmcollins/libjwt/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/benmcollins/libjwt/issues/2/comments","events_url":"https://api.github.com/repos/benmcollins/libjwt/issues/2/events","html_url":"https://github.com/benmcollins/libjwt/issues/2","id":123855565,"number":2,"title":"Memory issue in jwt_encode_str","user":{"login":"NitinKMathur","id":7992613,"avatar_url":"https://avatars.githubusercontent.com/u/7992613?v=3","gravatar_id":"","url":"https://api.github.com/users/NitinKMathur","html_url":"https://github.com/NitinKMathur","followers_url":"https://api.github.com/users/NitinKMathur/followers","following_url":"https://api.github.com/users/NitinKMathur/following{/other_user}","gists_url":"https://api.github.com/users/NitinKMathur/gists{/gist_id}","starred_url":"https://api.github.com/users/NitinKMathur/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NitinKMathur/subscriptions","organizations_url":"https://api.github.com/users/NitinKMathur/orgs","repos_url":"https://api.github.com/users/NitinKMathur/repos","events_url":"https://api.github.com/users/NitinKMathur/events{/privacy}","received_events_url":"https://api.github.com/users/NitinKMathur/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-12-25T05:58:45Z","updated_at":"2015-12-25T05:58:45Z","closed_at":null,"body":"In statement:\r\nstr = malloc(len); \r\n\r\nmemory is not allocated for NULL char.\r\n"}}