diff options
author | Jim Meyering <jim@meyering.net> | 2002-10-14 08:29:50 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2002-10-14 08:29:50 +0000 |
commit | 07c1a593ca0c5b86afb9e4016666f20addcff901 (patch) | |
tree | ab3d1b56e56088355345ac9abf9570f7500eff36 /ChangeLog | |
parent | bad450db5d35d67cb426a49a66b45c6c041cd401 (diff) | |
download | coreutils-07c1a593ca0c5b86afb9e4016666f20addcff901.tar.xz |
*** empty log message ***
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -2,6 +2,17 @@ * Version 4.5.4. + Specifying a printf conversion specifer as nl's separator string + could cause nl to segfault. + * src/nl.c (build_print_fmt): Don't include separator string + in the printf format; it might contain `%'. + Use a better bound on the length of the print_fmt buffer. + (print_lineno): Print the separator here instead. + Reported by Doug Coleman. + + * tests/misc/nl: New file/tests, including a test for the above. + * tests/misc/Makefile.am (TESTS): Add nl. + * tests/misc/split-l: New test, to make sure `split --lines=N' works. * tests/misc/Makefile.am (TESTS): Add split-l. |