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
..
_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 Use 2003-04-16 13:34:34 +00:00
a64l.c netbsd.org->NetBSD.org 2003-07-26 19:24:24 +00:00
abort.3 Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 16:42:00 +00:00
abort.c Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 16:42:00 +00:00
abs.3 Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 16:42:00 +00:00
abs.c Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 16:42:00 +00:00
alloca.3 Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 16:42:00 +00:00
atexit.3 Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 16:42:00 +00:00
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 Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 16:42:00 +00:00
atof.c Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 16:42:00 +00:00
atoi.3 Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 16:42:00 +00:00
atoi.c Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 16:42:00 +00:00
atol.3 Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 16:42:00 +00:00
atol.c Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 16:42:00 +00:00
atoll.3 Use St -isoC-9X instead of St -isoC9X, to be in sync with groff. 2003-09-08 17:54:31 +00:00
atoll.c Overhaul how `build.sh tools' are used: 2003-10-27 00:12:41 +00:00
bsearch.3 Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 16:42:00 +00:00
bsearch.c WARNS=4 2005-11-29 03:11:58 +00:00
div.3 Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 16:42:00 +00:00
div.c Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 16:42:00 +00:00
drand48.c Add missing __RCSID() 2005-06-12 05:21:25 +00:00
erand48_ieee754.c switch byteorder of seed to match previous (and documented) behaviour 2006-03-31 11:42:31 +00:00
erand48.c <math.h> is just needed for the ldexp() call in erand48() - 2006-03-22 20:52:16 +00:00
exit.3 Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 16:42:00 +00:00
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_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
getopt.3 Slight syncing with OpenBSD version. 2003-09-23 10:26:54 +00:00
getopt.c WARNS=4 2005-11-29 03:11:58 +00:00
getsubopt.3 Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 16:42:00 +00:00
getsubopt.c There are two instances of getsubopt.c, one in gen, which came by the 2004-05-09 19:34:11 +00:00
grantpt.3 Uppercase Dt argument; \-1, not -1; sort SEE ALSO; & -> \*[Am]. 2004-05-28 00:10:57 +00:00
hcreate.3 Use 2003-04-16 13:34:34 +00:00
hcreate.c s/this this/this/. 2004-04-23 02:48:12 +00:00
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 netbsd.org->NetBSD.org 2003-07-26 19:24:24 +00:00
labs.3 Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 16:42:00 +00:00
labs.c Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 16:42:00 +00:00
lcong48.c Add missing __RCSID() 2005-06-12 05:21:25 +00:00
ldiv.3 Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 16:42:00 +00:00
ldiv.c Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 16:42:00 +00:00
Lint_abs.c
Lint_div.c
Lint_labs.c
Lint_ldiv.c
Lint_llabs.c
llabs.3 Use St -isoC-9X instead of St -isoC9X, to be in sync with groff. 2003-09-08 17:54:31 +00:00
llabs.c Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 16:42:00 +00:00
lldiv.3 Use St -isoC-9X instead of St -isoC9X, to be in sync with groff. 2003-09-08 17:54:31 +00:00
lldiv.c Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 16:42:00 +00:00
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
Makefile.inc Sync phk malloc.c with the latest one from FreeBSD. This gives us the 2007-11-28 21:55:14 +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 Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 16:42:00 +00:00
merge.c Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 16:42:00 +00:00
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 Uppercase Dt argument; \-1, not -1; sort SEE ALSO; & -> \*[Am]. 2004-05-28 00:10:57 +00:00
posix_openpt.c unix/98 pty functions and manual pages. 2004-05-27 02:58:48 +00:00
ptsname.3 Make the spelling of reentrant match the rest of the system. 2004-07-01 10:38:28 +00:00
pty.c unix/98 pty functions and manual pages. 2004-05-27 02:58:48 +00:00
putenv.c Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 16:42:00 +00:00
qabs.3 Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 16:42:00 +00:00
qabs.c Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 16:42:00 +00:00
qdiv.3 Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 16:42:00 +00:00
qdiv.c Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 16:42:00 +00:00
qsort.3 Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 16:42:00 +00:00
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 Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 16:42:00 +00:00
radixsort.c Remove leading __ from __(const|inline|signed|volatile) -- it is obsolete. 2005-12-24 21:11:15 +00:00
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 Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 16:42:00 +00:00
rand.3 Xref rnd(4). 2006-03-24 16:14:42 +00:00
rand.c Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 16:42:00 +00:00
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 Use St -isoC-9X instead of St -isoC9X, to be in sync with groff. 2003-09-08 17:54:31 +00:00
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 Use St -isoC-9X instead of St -isoC9X, to be in sync with groff. 2003-09-08 17:54:31 +00:00
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 Uppercase Dt argument; \-1, not -1; sort SEE ALSO; & -> \*[Am]. 2004-05-28 00:10:57 +00:00
unsetenv.c compat core reorg. 2005-09-13 01:44:08 +00:00