diff options
author | Martin Matuska <martin@matuska.org> | 2019-12-28 22:58:08 +0100 |
---|---|---|
committer | Martin Matuska <martin@matuska.org> | 2019-12-28 23:48:57 +0100 |
commit | 4f085eea879e2be745f4d9bf57e8513ae48157f4 (patch) | |
tree | f159b62c117df8133f17893bc935678b8356a555 /test_utils | |
parent | fbd0e40471c996c4c78fa00318f0f7e2e40a5179 (diff) | |
download | libarchive-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