]> git.ipfire.org Git - thirdparty/util-linux.git/commit
column: segmentation fault on invalid unicode input passed to -s option
authorKarel Zak <kzak@redhat.com>
Tue, 31 Aug 2021 10:31:15 +0000 (12:31 +0200)
committerKarel Zak <kzak@redhat.com>
Tue, 31 Aug 2021 10:31:15 +0000 (12:31 +0200)
commit9714331843ef3a6d9c10ff1d3bc5fcf53d44d930
tree5d7be3dc5d7e26b76335fbe4b99c93eeb8837544
parent4693a1bba9c769080d721350a87737e116d845ca
column: segmentation fault on invalid unicode input passed to -s option

The function mbs_to_wcs() returns NULL on invalid UTF.

Fixes: https://github.com/karelzak/util-linux/issues/1425
Signed-off-by: Karel Zak <kzak@redhat.com>
text-utils/column.c