Commit Graph

12 Commits

Author SHA1 Message Date
Matthew Dillon
98df703fe0 PR: bin/8680
Increase the size of a number of buffers and replace strcpy/strcat/sprintf
    with snprintf().  There was a minor and possibly not exploitable security
    hole related to one sprintf().
1998-12-13 03:42:51 +00:00
Poul-Henning Kamp
a623ec03f3 A bit of PR7278 which belongs here.
PR:		7278
Reviewed by:	phk
Submitted by:	Harlan.Stenn@pfcs.com
1998-07-22 20:34:24 +00:00
Philippe Charnier
a31bd3d64c Add rcsid. Sort #includes. 1998-03-23 07:47:31 +00:00
Andrey A. Chernov
580117026e Change manual declarations of some functions to proper includes
Rewrote allowed character test to be more efficient
Fix screen position calculations: control and 8bit characters was
not counted properly
1997-09-15 01:03:16 +00:00
Philippe Charnier
752d887a62 Use err(3). Add usage(). 1997-08-25 06:43:22 +00:00
Andrey A. Chernov
01f6848c9c Add locale-independent control checks for security reason 1997-05-14 09:37:54 +00:00
Andrey A. Chernov
9566348d5c Localize it 1997-05-13 11:30:01 +00:00
Andrey A. Chernov
fc092135ab Fix 8bit chars handling 1997-04-08 13:52:53 +00:00
Warner Losh
1c8af87873 compare return value from getopt against -1 rather than EOF, per the final
posix standard on the topic.
1997-03-29 04:34:07 +00:00
Alexander Langer
f20e416903 Fix some improperly wrapped lines in the code. 1996-08-11 02:20:05 +00:00
Guido van Rooij
acc879c13f The talkd security hole can ealso be exploited by wall (and thus rwall).
write and talk are not affected.
Now print out escape sequences in the same way as is done by write(1).
1994-10-23 15:33:55 +00:00
Rodney W. Grimes
9b50d90275 BSD 4.4 Lite Usr.bin Sources 1994-05-27 12:33:43 +00:00