clearing the memory

This commit is contained in:
Andrew Pamment 2017-03-30 23:01:49 +10:00
parent 296feb3909
commit 7b29fab357

4
deps/aha/aha.c vendored
View File

@ -118,6 +118,10 @@ char * aha(char *input)
int size;
int outat = 0;
char minibuf[2];
memset(output, 0, 256);
while (*ptr != '\0')
{
c = *ptr++;