1
0
mirror of https://github.com/gophernicus/gophernicus.git synced 2025-01-03 14:56:43 -05:00

Merge pull request #125 from seifferth/html_encode

Explicitly terminate dest string in html_encode
This commit is contained in:
Samuel Tyler 2024-12-29 10:35:06 +11:00 committed by GitHub
commit 655af737e7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -127,6 +127,7 @@ void html_encode(const char *unsafe, char *dest, int bufsize)
i += 1;
}
}
dest[j] = '\0';
}
/*