]> granicus.if.org Git - cgit/commit
html: fix handling of null byte ch/html-fmt
authorPeter Prohaska <pitrp@web.de>
Wed, 11 Nov 2020 21:16:21 +0000 (22:16 +0100)
committerChristian Hesse <mail@eworm.de>
Wed, 12 May 2021 13:36:39 +0000 (15:36 +0200)
commitd828a623442e3fc3159e2c188a78e6fd4aca8af4
tree705f319d1114db6b190a42326e0f004135c0203e
parentbd6f5683f6cde4212364354b3139c1d521f40f39
html: fix handling of null byte

A return value of `len` or more means that the output was truncated.

Signed-off-by: Peter Prohaska <pitrp@web.de>
Signed-off-by: Christian Hesse <mail@eworm.de>
html.c