I understand that this valgrind error is occurred because I was trying to use something uninitialized.
The code below is one that causes this error. What it's doing is it is trying to read Racket code and get each symbols such as + or define. (tokenize)
I am not expecting you to thoroughly understand the code because there are a lot other codes to understand what it's doing.
However, I'd really appreciate if you could give me your thoughts of the reason why I get this error on that line, symbol = strcat(symbol, newsymbol);
char* newsymbol = talloc(sizeof(char)*2);
*newsymbol = charRead;
newsymbol[1] = '\0';
symbol = strcat(symbol, newsymbol);