CVSROOT: /cvs Module name: src Changes by: [email protected] 2026/01/28 13:31:49
Modified files:
bin/ls : ls.c
Log message:
ls(1): use correct buffer size for ngroup.
In numeric long format, ngroup is formatted using sizeof nuser. That's a
copy-paste bug. It's harmless only because the arrays are the same size
today; it would become a real truncation/overflow risk if they ever
diverge.
>From Michal Mazurek (akfaew@), thanks!
OK kn@, tb@
