freebsd-dev/lib/libc
Robert Drehmel 085f131a15 - Fix a bug that wrote one char behind the end of the
supplied buffer in case the size of it was equal to
   the number of characters the converted address consumed.
   The bug occurred when converting an AF_INET address.
 - Remove the SPRINTF macro and use sprintf instead.
 - Do not do string formatting using sprintf(3) and a
   temporary buffer which is copied when the supplied
   buffer provides enough space.  Instead, use snprintf(3)
   and the real destination buffer, thus avoid the copy.

Reported by:	Stefan Farfeleder <e0026813@stud3.tuwien.ac.at> (1)
PR:		misc/41289
2002-08-15 21:19:31 +00:00
..
alpha Generate the normal asm stubs for all sysv system calls. Use these instead 2002-05-23 23:51:57 +00:00
amd64 Use '_end' symbol instead of 'end' to initialize minbrk and curbrk 2002-08-08 17:28:07 +00:00
compat-43 Assume __STDC__, remove non-__STDC__ code. 2002-05-28 17:03:12 +00:00
db Assume __STDC__, remove non-__STDC__ code. 2002-05-28 17:03:12 +00:00
gen can not -> cannot. 2002-08-13 14:10:36 +00:00
gmon Check for defined(__i386__) instead of just defined(i386) since the compiler 2002-05-30 07:00:42 +00:00
i386 Include <stdlib.h> to have abort() and exit() declared. 2002-08-15 11:58:24 +00:00
ia64 Generate the normal asm stubs for all sysv system calls. Use these instead 2002-05-23 23:51:57 +00:00
include Do not use __progname directly (except in [gs]etprogname(3)). 2002-03-29 22:43:43 +00:00
locale Reduce BSS size for programs which not load collate by eliminating 2002-08-13 14:55:17 +00:00
net - Fix a bug that wrote one char behind the end of the 2002-08-15 21:19:31 +00:00
nls Now, malloc is fixed, remove ENOMEM hardcode 2002-08-12 11:47:19 +00:00
posix1e Update TE policy and MAC text conversion routines to support partial 2002-08-09 03:09:38 +00:00
powerpc _C_LABEL -> CNAME 2002-05-17 05:11:13 +00:00
quad Fix the style of the SCM ID's. 2002-03-22 21:53:29 +00:00
regex Fix the style of the SCM ID's. 2002-03-22 23:42:05 +00:00
rpc mdoc(7) police: whitespace nits. 2002-08-09 11:17:56 +00:00
sparc64 Add missing ret instruction to the ptrace() syscall wrapper. 2002-07-11 15:48:02 +00:00
stdio - For compliance with IEEE Std 1003.1-2001, add the 'restrict' 2002-08-15 10:28:52 +00:00
stdlib - Add the 'restrict' qualifier to the function prototypes and 2002-08-15 09:25:04 +00:00
stdtime Use one line for each function argument to keep the line 2002-08-15 18:57:57 +00:00
string - Add the 'restrict' qualifier to the definitions of the string 2002-08-14 22:59:22 +00:00
sys can not -> cannot. 2002-08-13 14:10:36 +00:00
xdr Removed duplicated MLINKS which make(1) recently started warning about. 2002-08-15 12:31:01 +00:00
yp Spell void * as void * rather than caddr_t. This is complicated by the 2002-04-28 15:18:50 +00:00
Makefile Embellish more. 2002-03-26 23:09:34 +00:00
Makefile.inc PowerPC does not have profile support yet. 2002-05-15 20:07:31 +00:00