diff options
author | Hiltjo Posthuma <hiltjo@codemadness.org> | 2023-04-13 00:34:23 +0200 |
---|---|---|
committer | Hiltjo Posthuma <hiltjo@codemadness.org> | 2023-04-13 00:34:23 +0200 |
commit | eb8d6cf63815bff6697ebc7ae1b83f998b6eab53 (patch) | |
tree | a42b1bb76233521d2de47de7f9dd3affe14a69c3 /sfeed_content | |
parent | 728270f69c34a84cb10aa891178c90c8fe36320d (diff) |
atom, json, mbox: fix reading past the buffer with an escaped NUL byte (\ NUL)
This would skip checking the end of the string of checking a NUL byte, because
the iteration was done before checking it.
It would proceed into the data that comes after. Note that sfeed itself can't
generate such malformed data itself.
Example input:
0 title link content\ html
Would incorrect print "contenthtml" as the content.
Diffstat (limited to 'sfeed_content')
0 files changed, 0 insertions, 0 deletions