summaryrefslogtreecommitdiff
path: root/src/lib/libc/stdlib/malloc.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2003-10-03Fix off-by-one, patch from Patrick Latifi; closes PR 3492millert1-5/+5
2003-10-02two minor fixes. set errno on recursive calls. ENOMEM suggested by marc@.tedu1-4/+7
lock before setting malloc_func, not after. ok cloder@ deraadt@
2003-10-01updates and corrections to the references in SEE ALSO;jmc1-7/+11
mostly from tjr@freebsd's rev. 1.14 commit.
2003-10-01Correct some off-by-ones. They currently don't matter, but thiscloder2-6/+6
is for future safety and consistency. OK krw@, markus@
2003-09-30more fixes from 0.9.7c, ok deraadt, clodermarkus4-8/+22
2003-09-30security fix from http://www.openssl.org/news/secadv_20030930.txtmarkus6-4/+22
see also http://cvs.openssl.org/chngview?cn=11471
2003-09-30full stop. reverse course. remove all periods, so as to be alignedtedu1-40/+40
with error messages elsewhere. requested ok deraadt@ henning@
2003-09-29Revert BN_cmp() change. Its arguments are const. Spotted by miod@.otto2-6/+0
ok deraadt@
2003-09-27remove register. end all sentences with periods.tedu1-16/+16
ok deraadt@ henning@ millert@
2003-09-26put 64bit macros/functions documentation back.fgsch1-3/+20
2003-09-26No need to include non-standard machine/endian.h header sincemillert1-3/+13
sys/types does that for us. Add a STANDARDS section that says what is and is not standard. OK fgsch@
2003-09-26fix buffer size; leonard+gnats@itee.uq.edu.auderaadt1-12/+7
2003-09-26It is safe to pass free() a NULL pointer since C89; update example tomillert1-3/+2
this effect. OK deraadt@ pvalchev@
2003-09-25Do check for current pointer vs. buffer end before touching anymillert2-7/+7
elements in the buffer. Fixes an out of bounds access. From aaron@; OK deraadt@
2003-09-25Return immediately if argument to BN_sub_word is zero.otto2-0/+6
ok markus@ deraadt@
2003-09-25Use BN_is_zero(), not x->top == 0 to test if a BN is zero.otto2-6/+6
ok markus@ deraadt@
2003-09-25Add extra calls to bn_fix_top() in BN_cmp(), since some functions mayotto2-0/+6
leave an invalid BN. ok markus@ deraadt@
2003-09-25improve example even morederaadt1-3/+4
2003-09-22Document the optional argument support and as well as where we differ frommillert1-32/+83
POSIX and/or GNU. deraadt@ and jmc@ OK
2003-09-22If permutation is disabled (as it is via getopt(3) or when POSIXLY_CORRECTmillert1-2/+9
is set), we can accept an optional arg separated by whitespace. Previously, the optional arg needed to be adjacent to the option character. deraadt@ OK
2003-09-22Off-by-ones, from aaron@miod3-4/+4
2003-09-21revert for now.fgsch1-20/+3
2003-09-21document and declare 64-bit function/macros. ok millert@ deraadt@fgsch1-3/+20
2003-09-18expand on the realloc no-no section to include adjusting a length beforetedu1-6/+12
the allocation. ok deraadt@ markus@
2003-09-18typos from wiz@netbsd (including one from a PR from Quentin Garnier);jmc1-10/+14
slight sync with NetBSD page; ok millert@
2003-09-09update RFCs (from NetBSD);jmc1-3/+13
inet_makeaddr() uses in_addr_t types, not unsigned long. ok itojun@
2003-09-08typo; ianm@cit.uws.edu.auderaadt1-2/+2
2003-09-07typos from Brian Poole;jmc2-6/+6
ok deraadt@
2003-09-06standards compliant strxfrm. much simpler too. fixes sorting in glib2.tedu1-16/+4
ok deraadt@ espie@ marcm@
2003-09-05document -w timeout; from cedric@jmc1-1/+15
ok deraadt@
2003-09-02add missing includesdavid6-6/+12
ok deraadt@ tedu@ dhartmei@ krw@
2003-09-02escape punctuation; (and a nit in openssl.1)jmc1-2/+2
ok deraadt@
2003-09-02escape punctuation;jmc3-8/+8
ok deraadt@
2003-08-31add FILES and SEE ALSO sections;jmc1-1/+87
2003-08-30spacing;jmc1-8/+6
2003-08-30- sync SYNOPSIS(es) and ciphers/digests available with realityjmc1-1308/+1684
- remove non-OBSD details - indent examples - general macro/punctuation cleanup
2003-08-28wording improvement from Michael Knudsen;jmc1-2/+2
2003-08-28tweak;jmc1-10/+10
ok itojun@
2003-08-28better formatting. from wiz@netbsditojun1-4/+4
2003-08-28use NI_NUMERICHOST for 2nd invocationitojun1-2/+2
2003-08-28add int error in CAVEATitojun1-1/+2
2003-08-28add CAVEATS sectionitojun1-1/+55
2003-08-25You shall NOT BREAK THE TREEderaadt2-6/+0
2003-08-25Setup /dev/crypto early (SSL_library_init) to make sure it's actually donejason2-0/+6
for all applications; ok markus and deraadt
2003-08-21Do not produce a corrupt BIGNUM when adding 0 to 0 using BN_add_word().otto2-0/+6
ok markus@
2003-08-16just use sysctl for stirring. thread safe and can't fail.tedu1-23/+10
ok deraadt and co.
2003-08-15remove extra \n in {warn,err}{,x} callsderaadt1-3/+3
2003-08-12Split crypto routine sup again, but differently. This should make thederaadt3-84/+149
mail floppy parts a fair bit smaller.
2003-08-08refer to RFCs consistently (RFC XXXX);jmc2-13/+13
2003-08-08refer to RFCs consistently (RFC XXXX);jmc7-37/+37