summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
2003-10-02two minor fixes. set errno on recursive calls. ENOMEM suggested by marc@.Ted Unangst
lock before setting malloc_func, not after. ok cloder@ deraadt@
2003-10-01Directly invoke the sysctl system call, rather than going through the sysctl(3)Miod Vallat
wrapper. ok deraadt@ millert@
2003-10-01poll fixes from Niels; ok deraadtMarkus Friedl
2003-10-01oops, didn't change the Makefile.Jason McIntyre
add MLINKS to compress.3. rescued by deraadt@
2003-10-01- rename zlib(3) -> compress(3) so the name describes a function which exists;Jason McIntyre
- .Xr compress 1 requested by deraadt@
2003-10-01updates and corrections to the references in SEE ALSO;Jason McIntyre
mostly from tjr@freebsd's rev. 1.14 commit.
2003-10-01Correct some off-by-ones. They currently don't matter, but thisChad Loder
is for future safety and consistency. OK krw@, markus@
2003-09-30more fixes from 0.9.7c, ok deraadt, cloderMarkus Friedl
2003-09-30security fix from http://www.openssl.org/news/secadv_20030930.txtMarkus Friedl
see also http://cvs.openssl.org/chngview?cn=11471
2003-09-30full stop. reverse course. remove all periods, so as to be alignedTed Unangst
with error messages elsewhere. requested ok deraadt@ henning@
2003-09-29Revert BN_cmp() change. Its arguments are const. Spotted by miod@.Otto Moerbeek
ok deraadt@
2003-09-29unchecked strdup; ok henning; spotted by jjy2+@pitt.eduTheo de Raadt
2003-09-27remove register. end all sentences with periods.Ted Unangst
ok deraadt@ henning@ millert@
2003-09-26put 64bit macros/functions documentation back.Federico G. Schwindt
2003-09-26No need to include non-standard machine/endian.h header sinceTodd C. Miller
sys/types does that for us. Add a STANDARDS section that says what is and is not standard. OK fgsch@
2003-09-26for %#s, # is the amount of input string, not the amount of output string.Theo de Raadt
hence # must be 1 less than the size of the storage buffer. yes, we've known this for a long time, but it is not clearly documented and half the code out there does not use n-1! whoever designed this needs to be tortured.
2003-09-26fix buffer size; leonard+gnats@itee.uq.edu.auTheo de Raadt
2003-09-26It is safe to pass free() a NULL pointer since C89; update example toTodd C. Miller
this effect. OK deraadt@ pvalchev@
2003-09-25Do check for current pointer vs. buffer end before touching anyTodd C. Miller
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.Otto Moerbeek
ok markus@ deraadt@
2003-09-25Use BN_is_zero(), not x->top == 0 to test if a BN is zero.Otto Moerbeek
ok markus@ deraadt@
2003-09-25Add extra calls to bn_fix_top() in BN_cmp(), since some functions mayOtto Moerbeek
leave an invalid BN. ok markus@ deraadt@
2003-09-25improve example even moreTheo de Raadt
2003-09-25add man page for zlib(3). This is basically an mdoc version of <zlib.h>.Jason McIntyre
ok henning@ deraadt@
2003-09-23o mention why poll(2) is often more effecient than select(2)Todd C. Miller
o add a bit on priority from POSIX o provide a simple example o our poll(2) does not return EAGAIN (we block on memory allocation failure) o correct some comments about the flags now that we support more of them
2003-09-23add support for poll(2); ok deraadtMarkus Friedl
2003-09-22Document the optional argument support and as well as where we differ fromTodd C. Miller
POSIX and/or GNU. deraadt@ and jmc@ OK
2003-09-22If permutation is disabled (as it is via getopt(3) or when POSIXLY_CORRECTTodd C. Miller
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@Miod Vallat
2003-09-21convert tgetline() from select(2) -> poll(2)Todd C. Miller
2003-09-21revert for now.Federico G. Schwindt
2003-09-21document and declare 64-bit function/macros. ok millert@ deraadt@Federico G. Schwindt
2003-09-20incorrect ordering of free operationsTheo de Raadt
2003-09-20do not leak if mem_alloc failsTheo de Raadt
2003-09-18expand on the realloc no-no section to include adjusting a length beforeTed Unangst
the allocation. ok deraadt@ markus@
2003-09-18typos from wiz@netbsd (including one from a PR from Quentin Garnier);Jason McIntyre
slight sync with NetBSD page; ok millert@
2003-09-09update RFCs (from NetBSD);Jason McIntyre
inet_makeaddr() uses in_addr_t types, not unsigned long. ok itojun@
2003-09-09update missing sysctls;Jason McIntyre
input and fixes from miod, markus, tedu, grange, jolan, nordin.
2003-09-08o Use proper mdoc macros for function macros and definesTodd C. Miller
o Update flags values based on POSIX-2001 o Remove inaccuracies o Document what we don't support in BUGS o More specific HISTORY info o Update SEE ALSO OK jmc@ and deraadt@
2003-09-08typo; ianm@cit.uws.edu.auTheo de Raadt
2003-09-08Zap context correctly, from Juergen Buchmueller <pullmoll at stop1984 dot com>Todd C. Miller
Same as sys/crypto/sha2.c revision 1.2
2003-09-07typos from Brian Poole;Jason McIntyre
ok deraadt@
2003-09-06standards compliant strxfrm. much simpler too. fixes sorting in glib2.Ted Unangst
ok deraadt@ espie@ marcm@
2003-09-05spacing;Jason McIntyre
2003-09-04typo.Thierry Deval
ok jmc@
2003-09-04put escapes in the right place;Jason McIntyre
(i.e. stuff I got wrong the first time, or missed) this includes some .Cd's with missing quotes and .Nm abuse in man4;
2003-09-02escape punctuation;Jason McIntyre
ok deraadt@
2003-09-02fix use-after-free for expired passwds; ok deraadt, tdevalMarkus Friedl
2003-09-01These files are not necessary anymore.Miod Vallat
2003-08-28wording improvement from Michael Knudsen;Jason McIntyre