Closed 0xTheProDev closed 7 years ago
Instead of:
char* t = calloc(strlen(s) + 1, 1); //Line 890
use:
int s_len;
char* t = calloc(s_len=strlen(s) + 1, 1);
Use s_len
in Line 898 too instead of strlen(s)
.
@hitesh1157 Thanks for your suggestion. You may look into this issue and send us pull request when you're done. In the meantime, we will like you to go through our Contribution Guide and Coding Style.
Link: