]> git.ipfire.org Git - thirdparty/git.git/commit
column: disallow negative padding
authorKristoffer Haugsbakk <code@khaugsbakk.name>
Tue, 13 Feb 2024 16:01:20 +0000 (17:01 +0100)
committerJunio C Hamano <gitster@pobox.com>
Tue, 13 Feb 2024 18:18:50 +0000 (10:18 -0800)
commitf2d31c69ce38e4515d5dfac34c69423c833b85f9
tree5a941b48743d03b6a1a52bbe24f592d242fbea47
parent7adf215fede93114f8ee376c82adb5b8dd0f73c7
column: disallow negative padding

A negative padding does not make sense and can cause errors in the
memory allocator since it’s interpreted as an unsigned integer.

Reported-by: Tiago Pascoal <tiago@pascoal.net>
Signed-off-by: Kristoffer Haugsbakk <code@khaugsbakk.name>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/column.c
t/t9002-column.sh