{"action":"opened","issue":{"url":"https://api.github.com/repos/felipecustodio/huffman-prefix-C/issues/6","labels_url":"https://api.github.com/repos/felipecustodio/huffman-prefix-C/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/felipecustodio/huffman-prefix-C/issues/6/comments","events_url":"https://api.github.com/repos/felipecustodio/huffman-prefix-C/issues/6/events","html_url":"https://github.com/felipecustodio/huffman-prefix-C/issues/6","id":118340105,"number":6,"title":"Most trees are ending up with the NULL string terminator \\0","user":{"login":"felipecustodio","id":4261743,"avatar_url":"https://avatars.githubusercontent.com/u/4261743?v=3","gravatar_id":"","url":"https://api.github.com/users/felipecustodio","html_url":"https://github.com/felipecustodio","followers_url":"https://api.github.com/users/felipecustodio/followers","following_url":"https://api.github.com/users/felipecustodio/following{/other_user}","gists_url":"https://api.github.com/users/felipecustodio/gists{/gist_id}","starred_url":"https://api.github.com/users/felipecustodio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/felipecustodio/subscriptions","organizations_url":"https://api.github.com/users/felipecustodio/orgs","repos_url":"https://api.github.com/users/felipecustodio/repos","events_url":"https://api.github.com/users/felipecustodio/events{/privacy}","received_events_url":"https://api.github.com/users/felipecustodio/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/felipecustodio/huffman-prefix-C/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-11-23T08:55:47Z","updated_at":"2015-11-23T08:55:47Z","closed_at":null,"body":"### Tested with %d while printing the dictionary table, result was 0 (\\0). \r\nWhat I believe is happening: while creating the tree, the index reaches strlen of the parameter + 1. \r\nMust find a way to prevent the index of reaching the \\0 character. \r\n\r\n![bug_t3](https://cloud.githubusercontent.com/assets/4261743/11332692/efe42188-91ae-11e5-8727-ff0adf68e6e7.png)\r\n"}}