Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | permit calloc(0, N) and calloc(N, 0) -- malloc(0) does the right thing; ↵ | deraadt | 2002-07-31 | 1 | -2/+2 | |
| | | | | markus miod ok | |||||
* | more strlcpy; itojun ok | deraadt | 2002-07-30 | 1 | -4/+4 | |
| | ||||||
* | return failure if integer overflow happens. sigh; too people had to | deraadt | 2002-07-30 | 1 | -1/+7 | |
| | | | | help get this right. | |||||
* | Replace atexit handler. mprotect() the pages so an attempt to modify the | dhartmei | 2002-07-29 | 3 | -71/+87 | |
| | | | | | function pointers from the outside will segfault. Idea, hints and feedback from deraadt. ok deraadt. | |||||
* | query ip6.arpa then ip6.int for IPv6 reverse lookup. follows RFC3152. | itojun | 2002-07-29 | 1 | -2/+8 | |
| | | | | (need some string-manipulation cleanup near here) | |||||
* | more snprintf and strlcpy; help from millert | deraadt | 2002-07-25 | 1 | -13/+48 | |
| | ||||||
* | kill more strcpy | deraadt | 2002-07-25 | 4 | -16/+15 | |
| | ||||||
* | cleanup | deraadt | 2002-07-25 | 1 | -23/+26 | |
| | ||||||
* | Convert to ANSI function headers and make 'ch' argument int, not char. | millert | 2002-07-24 | 2 | -8/+6 | |
| | | | | Noticed by deraadt@ | |||||
* | have _THREAD_PRIVATE_MUTEX for DNS/YP/hosts lookup. | itojun | 2002-07-24 | 1 | -3/+16 | |
| | ||||||
* | more type pedant | itojun | 2002-07-01 | 1 | -2/+2 | |
| | ||||||
* | lint clean (and don't mixup signed/unsigned). from martin husemann | itojun | 2002-07-01 | 1 | -12/+12 | |
| | ||||||
* | make more pedantic check on strtoul. from deraadt, sync w/kame | itojun | 2002-07-01 | 1 | -8/+12 | |
| | ||||||
* | correct port range check. from deraadt. sync w/kame. bind-bugs have ↵ | itojun | 2002-06-29 | 1 | -2/+3 | |
| | | | | already notified. | |||||
* | Replace strtou?q() with the more standard strtou?ll(), using weak | millert | 2002-06-29 | 5 | -42/+108 | |
| | | | | aliases to fake up strtou?q(). espie@ OK. | |||||
* | %d -> %u. mostly in #ifdef DEBUG. | itojun | 2002-06-27 | 5 | -34/+34 | |
| | ||||||
* | %d/%u mixup (in #ifdef DEBUG) | itojun | 2002-06-27 | 2 | -5/+5 | |
| | ||||||
* | ntohs() returns unsigned value | itojun | 2002-06-27 | 1 | -2/+2 | |
| | ||||||
* | correct bad practice in the code - it uses two changing variables | itojun | 2002-06-26 | 2 | -26/+22 | |
| | | | | | | | to manage buffer (buf and buflen). we eliminate buflen and use fixed point (ep) as the ending pointer. this fix is NOT critical. | |||||
* | avoid remote buffer overrun on hostbuf[]. From: Joost Pol <joost@pine.nl> | itojun | 2002-06-26 | 2 | -43/+33 | |
| | | | | | | | | correct bad practice in the code - it uses two changing variables to manage buffer (buf and buflen). we eliminate buflen and use fixed point (ep) as the ending pointer. this fix is critical. | |||||
* | spelling; moritz@jodeit.org | deraadt | 2002-06-09 | 1 | -2/+4 | |
| | ||||||
* | unsigned vs unsigned int | deraadt | 2002-05-27 | 1 | -3/+3 | |
| | ||||||
* | pid_t cleanup | deraadt | 2002-05-26 | 1 | -3/+3 | |
| | ||||||
* | try to use strlcpy and snprintf more; ok various | deraadt | 2002-05-24 | 9 | -38/+43 | |
| | ||||||
* | more strlcpy and snprintf | deraadt | 2002-05-22 | 3 | -47/+41 | |
| | ||||||
* | do not reverse-lookup scoped ipv6 address - it is meaningless as there's | itojun | 2002-05-18 | 1 | -1/+7 | |
| | | | | no way to pass scope id. sync w/kame | |||||
* | For strncpy(), dst is not NUL terminated if strlen(src) >= len. | millert | 2002-05-13 | 1 | -6/+5 | |
| | | | | Also fix a typo; adapted from a patch by Moritz Jodeit | |||||
* | Kill/adjust r(login|exec)d? references now that those are no longer in | millert | 2002-05-06 | 1 | -5/+1 | |
| | | | | the tree. | |||||
* | o) start new sentence on a new line; | mpech | 2002-05-01 | 1 | -2/+3 | |
| | | | | | | | o) always close .Bl tags; o) fix usage of .Xr; millert@ ok | |||||
* | Initial cleanup: | mpech | 2002-04-30 | 5 | -10/+10 | |
| | | | | | | | | | | | | o) remove extra space in the end of line; o) remove extra blank lines in the end of file; o) remove .Pp before .Ss; o) CAVEAT -> CAVEATS; o) fix usage of .Fa; o) <blank-line> -> .Pp; o) wrap long lines; millert@ ok | |||||
* | wierd -> weird | pvalchev | 2002-04-29 | 1 | -3/+3 | |
| | ||||||
* | Tack on MagniComp (BSD) license since this originally came from rdist. | millert | 2002-03-12 | 1 | -2/+30 | |
| | ||||||
* | Xr getifaddrs(3) and networking(4) in SEE ALSO section. | millert | 2002-03-07 | 1 | -1/+4 | |
| | ||||||
* | Replace SIOCGIFCONF-using NRL versions with KAME versions that use | millert | 2002-03-07 | 3 | -333/+201 | |
| | | | | getifaddrs(3). Fixes problems on LP64 platforms. | |||||
* | skip sockaddr correctly if sa_len < sockaddr. from niklas | itojun | 2002-02-25 | 1 | -0/+3 | |
| | ||||||
* | deraadt@ objects to the caveat remark, so remove it. | miod | 2002-02-23 | 1 | -11/+1 | |
| | ||||||
* | Slightly improve wording and punctuation. | miod | 2002-02-23 | 1 | -4/+4 | |
| | ||||||
* | Add a caveat section pointing out that people affecting the return value | miod | 2002-02-23 | 1 | -5/+13 | |
| | | | | | | | | of getopt() to char variables instead of int lose on arches where char is unsigned by default. Clean the example by not pasting parts of <unistd.h> into it, and by not using atoi(3). | |||||
* | We live in an ANSI C world. Remove lots of gratuitous #ifdef __STDC__ cruft. | millert | 2002-02-19 | 8 | -155/+11 | |
| | ||||||
* | Manual cleanup of remaining userland __P use (excluding packages maintained ↵ | millert | 2002-02-17 | 10 | -52/+46 | |
| | | | | outside the tree) | |||||
* | Part one of userland __P removal. Done with a simple regexp with some minor ↵ | millert | 2002-02-16 | 29 | -105/+105 | |
| | | | | hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically. | |||||
* | fix the history refs | mickey | 2002-01-24 | 1 | -2/+2 | |
| | ||||||
* | THREAD_UNLOCK() on error before returning; millert@ ok. | fgsch | 2002-01-23 | 1 | -1/+3 | |
| | ||||||
* | If the user passes in "" as the string to resolve the lstat() will | millert | 2002-01-12 | 1 | -2/+6 | |
| | | | | | | fail anyway so check for that. Also convert "." to "" since that way we avoid the lstat() (which we don't need) and the subsequent chdir() and some dir checks. | |||||
* | label abort() from inside library as ILLEGAL | deraadt | 2002-01-02 | 3 | -7/+8 | |
| | ||||||
* | more pid_t use | deraadt | 2002-01-02 | 1 | -3/+4 | |
| | ||||||
* | Add missing .Os. deraadt@ ok | nordin | 2002-01-02 | 1 | -1/+2 | |
| | ||||||
* | Two functions can return errors here, not just one. | miod | 2001-12-29 | 1 | -2/+4 | |
| | ||||||
* | when strerror() has an Unknown error, also set EINVAL | deraadt | 2001-12-08 | 1 | -3/+8 | |
| | ||||||
* | alloca cannot check if the allocation is valid. mention the consequences; ↵ | deraadt | 2001-12-06 | 1 | -1/+13 | |
| | | | | millert ok |