NetBSD/lib/libc/stdlib
christos 23b2e3cd80 Fix another integer overflow issue discovered by Maksymilian Arciemowicz.
On top of this, limit the range of getnumber to 0x00ffffff to make sure
that adding two of them does not cause an integer overflow.
2008-03-27 21:50:30 +00:00
..
Lint_abs.c
Lint_div.c
Lint_labs.c
Lint_ldiv.c
Lint_llabs.c
Makefile.inc Sync phk malloc.c with the latest one from FreeBSD. This gives us the 2007-11-28 21:55:14 +00:00
_rand48.c Add missing __RCSID() 2005-06-12 05:21:25 +00:00
_strtoimax.c compat core reorg. 2005-09-13 01:44:08 +00:00
_strtoll.c compat core reorg. 2005-09-13 01:44:08 +00:00
_strtoull.c compat core reorg. 2005-09-13 01:44:08 +00:00
_strtoumax.c compat core reorg. 2005-09-13 01:44:08 +00:00
a64l.3
a64l.c
abort.3
abort.c
abs.3
abs.c
alloca.3
atexit.3
atexit.c There's no need to do the mutex_trylock dance anymore in __cxa_finalize(), 2008-02-25 14:35:54 +00:00
atexit.h
atof.3
atof.c
atoi.3
atoi.c
atol.3
atol.c
atoll.3
atoll.c
bsearch.3
bsearch.c WARNS=4 2005-11-29 03:11:58 +00:00
div.3
div.c
drand48.c Add missing __RCSID() 2005-06-12 05:21:25 +00:00
erand48.c <math.h> is just needed for the ldexp() call in erand48() - 2006-03-22 20:52:16 +00:00
erand48_ieee754.c switch byteorder of seed to match previous (and documented) behaviour 2006-03-31 11:42:31 +00:00
exit.3
exit.c Build a local copy of exit that doesn't call __cxa_finalize. It's not 2007-10-30 17:19:59 +00:00
getenv.3 Punctuation nits; grammar fix. 2005-09-26 10:54:46 +00:00
getenv.c add getenv_r and ttyname_r 2005-09-25 20:08:01 +00:00
getopt.3
getopt.c WARNS=4 2005-11-29 03:11:58 +00:00
getopt_long.3 Document that getopt_long(3) can and will accept unique abbreviated long 2007-07-02 17:56:17 +00:00
getopt_long.c always compile getopt_long. some ifdef reduction. more to come. 2007-11-09 03:29:20 +00:00
getsubopt.3
getsubopt.c
grantpt.3
hcreate.3
hcreate.c
heapsort.c Use size_t to avoid overflow when sorting large arrays. While here, ANSIfy. 2008-03-11 18:04:59 +00:00
insque.3 Remove superfluous Pp. 2005-07-12 08:28:27 +00:00
insque.c tolerate NULL pointers at some places 2005-07-06 17:17:15 +00:00
jemalloc.c Redo the CPU-based arena selection slightly differently. With the latest 2008-03-08 13:17:13 +00:00
jrand48.c Add missing __RCSID() 2005-06-12 05:21:25 +00:00
l64a.c
labs.3
labs.c
lcong48.c Add missing __RCSID() 2005-06-12 05:21:25 +00:00
ldiv.3
ldiv.c
llabs.3
llabs.c
lldiv.3
lldiv.c
local.h
lrand48.c Add missing __RCSID() 2005-06-12 05:21:25 +00:00
lsearch.3 Remove superfluous Pp, sort sections. 2005-07-12 08:28:42 +00:00
lsearch.c revert previous, my include files were out of day. 2005-07-16 17:32:09 +00:00
malloc.3 we don't have reallocf. 2007-10-15 11:18:44 +00:00
malloc.c fix posix_memalign; we are not going to support alignments > pagesize in 2008-02-03 22:56:53 +00:00
memory.3
merge.c
mrand48.c Add missing __RCSID() 2005-06-12 05:21:25 +00:00
nrand48.c Add missing __RCSID() 2005-06-12 05:21:25 +00:00
posix_memalign.3 Enable posix_memalign(). 2007-11-19 14:48:41 +00:00
posix_openpt.3
posix_openpt.c
ptsname.3
pty.c
putenv.c
qabs.3
qabs.c
qdiv.3
qdiv.c
qsort.3
qsort.c Use size_t to avoid overflow when sorting large arrays. While here, ANSIfy. 2008-03-11 18:04:59 +00:00
radixsort.3
radixsort.c Remove leading __ from __(const|inline|signed|volatile) -- it is obsolete. 2005-12-24 21:11:15 +00:00
rand.3 Xref rnd(4). 2006-03-24 16:14:42 +00:00
rand.c
rand48.3 correct multiplicand in pseudorandom generation 2006-03-31 11:43:54 +00:00
rand48.h <math.h> is just needed for the ldexp() call in erand48() - 2006-03-22 20:52:16 +00:00
rand_r.c
random.3 mention RANDOM_MAX 2008-02-28 16:16:35 +00:00
remque.c tolerate NULL pointers at some places 2005-07-06 17:17:15 +00:00
seed48.c Add missing __RCSID() 2005-06-12 05:21:25 +00:00
setenv.c remove extraneous `*' that caused a core-dump. 2005-02-17 21:22:25 +00:00
srand48.c Add missing __RCSID() 2005-06-12 05:21:25 +00:00
strfmon.3 Remove duplicate words; grammar fix. 2005-04-04 08:19:00 +00:00
strfmon.c Fix another integer overflow issue discovered by Maksymilian Arciemowicz. 2008-03-27 21:50:30 +00:00
strsuftoll.3 Use IEC 60027-2 prefixes for 2^n based prefixes. 2007-04-12 06:50:39 +00:00
strsuftoll.c Use IEC 60027-2 prefixes for 2^n based prefixes. 2007-04-12 06:50:39 +00:00
strtod.3 Add HISTORY: The strtof() and strtold() functions appeared in NetBSD 2007-10-24 13:42:10 +00:00
strtoimax.c remove bogus (void)&var; From Anon Ymous 2006-12-18 00:40:14 +00:00
strtol.3
strtol.c WARNS=4 2005-11-29 03:11:58 +00:00
strtoq.c remove bogus (void)&var; From Anon Ymous 2006-12-18 00:40:14 +00:00
strtoul.3
strtouq.c WARNS=4 2005-11-29 03:11:58 +00:00
system.3 Add xref to shquote(3), suggested by joerg. Bump date. 2007-08-02 23:45:10 +00:00
system.c Correctly recover signal state if failed trying to set it. 2006-10-07 22:16:19 +00:00
tdelete.c Coverity CID 2528: Don't delete the node we are about to return. 2006-03-19 01:12:08 +00:00
tfind.c Avoid lint warning after previous. 2005-03-23 08:16:53 +00:00
tsearch.3 Fix twalk()s 3rd argument name so that it matches rest of manpage and 2007-12-07 07:33:13 +00:00
tsearch.c WARNS=4 2005-11-29 03:11:58 +00:00
twalk.c
unlockpt.3
unsetenv.c compat core reorg. 2005-09-13 01:44:08 +00:00