summaryrefslogtreecommitdiff
path: root/test_utils
diff options
context:
space:
mode:
authorMartin Matuska <martin@matuska.org>2019-12-28 22:58:08 +0100
committerMartin Matuska <martin@matuska.org>2019-12-28 23:48:57 +0100
commit4f085eea879e2be745f4d9bf57e8513ae48157f4 (patch)
treef159b62c117df8133f17893bc935678b8356a555 /test_utils
parentfbd0e40471c996c4c78fa00318f0f7e2e40a5179 (diff)
downloadlibarchive-4f085eea879e2be745f4d9bf57e8513ae48157f4.tar.gz
Fix a possible heap-buffer-overflow in archive_string_append_from_wcs()
When we grow the archive_string buffer, we have to make sure it fits at least one maximum-sized multibyte character in the current locale and the null character. Fixes #1298
Diffstat (limited to 'test_utils')
0 files changed, 0 insertions, 0 deletions