summaryrefslogtreecommitdiff
path: root/usr.bin/msgs/msgs.c
AgeCommit message (Expand)Author
2007-09-11Avoid setting a global pointer variable from signal handlersChad Loder
2007-09-09check fgets return valueCharles Longeau
2007-05-17Check getpwuid() return value for NULL before dereferencing it.Moritz Jodeit
2005-07-04make these use setres[ug]id for simple privilege dropping;Damien Miller
2004-10-02ftello and fseek ok and such, ok ottoTheo de Raadt
2003-10-04- sort optionsJason McIntyre
2003-06-10mostly ansi cleanup; pval okTheo de Raadt
2003-06-03Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
2003-04-07replace strcpy calls that got inlined by gcc; Hans-Joerg.Hoexer@yerbouti.fran...Theo de Raadt
2003-03-13lots of sprintf -> snprintf and strcpy -> strlcpy; checked by teduTheo de Raadt
2002-08-08sizeof fname, not sizeof *fnameHakan Olsson
2002-08-083rd arg for open, plus some bounds checking. miod@ ok.Hakan Olsson
2002-02-16Part one of userland __P removal. Done with a simple regexp with some minor ...Todd C. Miller
2002-01-04Don't longjmp(..., 0)Artur Grabowski
2001-11-19kill more registersMike Pechkin
2001-09-04Replace the deprecated BSD sigsetmask/sigblock/sigpause functions with their ...Todd C. Miller
2000-08-02$HOME paranoia: never use getenv("HOME") w/o checking for NULL and non-zeroTodd C. Miller
2000-07-06snprintf with %s when copying the pagerTheo de Raadt
1999-08-17More <sys/file.h> vs. <fcntl.h> and open() flags fixes.Todd C. Miller
1999-06-10Handle PAGER in a manner consistent with the Single Unix Specification:Paul Janzen
1999-05-13create /var/msgs/bounds if it does not exist and reset it to its defaultAaron Campbell
1998-06-23complain correctly when /var/msgs/bounds does not exist; fullermd@futuresouth...Theo de Raadt
1997-09-11oflow, indentTheo de Raadt
1997-04-28Clean up terminal type handling.Jason Downs
1997-04-28Modernize protyped, switch to libtermlib.Jason Downs
1997-04-02buf oflows, thanks imp & millertTheo de Raadt
1997-04-02use mkstemp (millert, please double check)Theo de Raadt
1996-12-22Deal with _POSIX_SAVED_IDS when relinquishing privilegesThorsten Lockert
1996-10-28Use snprintf(). Solves $HOME overflow and others.Todd C. Miller
1996-09-16_PATH_TMP -> _PATH_TMPFILE; avoid /tmp//fooXXXX where possible tooTheo de Raadt
1996-06-26rcsidTheo de Raadt
1996-06-25mktemp open/fdopenTheo de Raadt
1995-10-18initial import of NetBSD treeTheo de Raadt