2nd attempt :)
This commit is contained in:
parent
19eed36f8b
commit
6205dfd0ff
@ -82,7 +82,7 @@ static char *www_sanitize(char *inp) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
result = (char *)malloc(len + 1);
|
result = (char *)malloc(len + 1);
|
||||||
memset(result, 0, len);
|
memset(result, 0, len + 1);
|
||||||
len = 0;
|
len = 0;
|
||||||
for (i=0;i<strlen(inp);i++) {
|
for (i=0;i<strlen(inp);i++) {
|
||||||
if (inp[i] == '<') {
|
if (inp[i] == '<') {
|
||||||
|
Reference in New Issue
Block a user