clearing the memory
This commit is contained in:
parent
296feb3909
commit
7b29fab357
4
deps/aha/aha.c
vendored
4
deps/aha/aha.c
vendored
@ -118,6 +118,10 @@ char * aha(char *input)
|
|||||||
int size;
|
int size;
|
||||||
int outat = 0;
|
int outat = 0;
|
||||||
char minibuf[2];
|
char minibuf[2];
|
||||||
|
|
||||||
|
|
||||||
|
memset(output, 0, 256);
|
||||||
|
|
||||||
while (*ptr != '\0')
|
while (*ptr != '\0')
|
||||||
{
|
{
|
||||||
c = *ptr++;
|
c = *ptr++;
|
||||||
|
Reference in New Issue
Block a user