From 053c622f699bd8fcabb0f0b3d15fe4ce055603c6 Mon Sep 17 00:00:00 2001 From: Nembles1000 Date: Sat, 9 May 2026 15:36:21 +0200 Subject: [PATCH] nl: fix oversized stack allocation with NL_TEXTMAX under glibc --- src.freebsd/coreutils/nl/nl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src.freebsd/coreutils/nl/nl.c b/src.freebsd/coreutils/nl/nl.c index 573e03e..d0f6413 100644 --- a/src.freebsd/coreutils/nl/nl.c +++ b/src.freebsd/coreutils/nl/nl.c @@ -361,7 +361,7 @@ static void parse_numbering(const char *argstr, int section) { int error; - char errorbuf[NL_TEXTMAX]; + char errorbuf[256]; switch (argstr[0]) { case 'a':