util-linux/term-utils
Sami Kerola e4aaa0e593
write: use xstrncpy() from strutils.h
Earlier if the tty path was exactly length of the maximum ut_line then last
character of the path was overwrote by \0.  This is in practise theoretical
bug, as it is unheard that a tty device path could be 32 characters long.

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
2016-07-01 20:59:23 +01:00
..
Makemodule.am scriptreplay: avoid re-implementing strtod_or_err() 2016-05-05 11:46:54 +02:00
agetty.8 agetty: tweak formatting and some wordings in the man page 2016-03-08 14:21:55 +01:00
agetty.c agetty: don't modify argv[] when parse speeds 2016-06-30 14:00:44 +02:00
mesg.1 docs: bring a few more man pages closer to standard formatting 2014-07-16 12:03:25 +02:00
mesg.c mesg: fix multiple races 2015-11-22 20:56:39 +00:00
reset reset: deprecate the script, and remove reset.033c 2015-06-29 12:06:22 +02:00
reset.1 docs: bring a few more man pages closer to standard formatting 2014-07-16 12:03:25 +02:00
script.1 script: tweak spacing and wording, and restore filling in the man page 2016-03-17 12:18:53 +01:00
script.c script: improve coding style and the "done" message 2016-05-18 15:06:31 +02:00
scriptreplay.1 docs: fix some spelling errors and typos in man pages 2015-02-27 14:48:56 +01:00
scriptreplay.c scriptreplay: avoid re-implementing strtod_or_err() 2016-05-05 11:46:54 +02:00
setterm.1 docs: restore minus symbols in long opts 2015-01-20 18:15:30 -05:00
setterm.c misc: Fix various typos 2016-05-31 23:40:21 +02:00
ttymsg.c misc: safer (and uniform) handling of return value 2016-03-07 15:11:06 +01:00
ttymsg.h ttymsg: fix compiler warnings and use EXIT_ 2011-04-12 11:19:15 +02:00
wall.1 docs: remove obsolete and unneeded comments from man-page files 2015-01-12 11:03:26 +01:00
wall.c misc: Fix various typos 2016-05-31 23:40:21 +02:00
write.1 docs: remove obsolete and unneeded comments from man-page files 2015-01-12 11:03:26 +01:00
write.c write: use xstrncpy() from strutils.h 2016-07-01 20:59:23 +01:00