mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-12-01 07:28:31 +01: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.go | ||
html_internal_test.go | ||
html_test.go | ||
markup.go | ||
markup_test.go | ||
sanitizer.go | ||
sanitizer_test.go |