mirror of
https://github.com/go-gitea/gitea.git
synced 2024-12-05 01:19:20 +08:00
7ab6c77b41
PostProcess is supposed to be parsing and handling HTML fragments, but on fuzzing it appears that there is a weird issue with NUL elements that could cause a memory address error in downstream libraries. The simplest solution is to strip out the weird NULs - they should not be there in any case and would be stripped out anyway. Signed-off-by: Andrew Thornton <art27@cantab.net> |
||
---|---|---|
.. | ||
common | ||
csv | ||
external | ||
markdown | ||
mdstripper | ||
orgmode | ||
html_internal_test.go | ||
html_test.go | ||
html.go | ||
markup_test.go | ||
markup.go | ||
sanitizer_test.go | ||
sanitizer.go |