]> git.ipfire.org Git - thirdparty/util-linux.git/commit
column: fix buffer overflow when -l specified
authorKarel Zak <kzak@redhat.com>
Thu, 4 Aug 2022 08:10:19 +0000 (10:10 +0200)
committerKarel Zak <kzak@redhat.com>
Thu, 4 Aug 2022 08:10:19 +0000 (10:10 +0200)
commit0763e8dd609b5061f04f2d7d592d0374e3d10688
tree9908c8b9e7449fd75c142ad0107c6f9f54efb43d
parent16ca7d6a0c3d03ecc39cf1e8835f94ff4f026e85
column: fix buffer overflow when -l specified

$ printf 'a b c\n1 2 3\n' | column -s : -t -o '-' -l2
a b c-ฤก
1 2 3-

Signed-off-by: Karel Zak <kzak@redhat.com>
text-utils/column.c