Commit Graph

6097 Commits

Author SHA1 Message Date
yamt cc3f08f723 define HAVE_XDR_MOUNTRES3 in pre-generated config.h as we have mountres3 now.
this makes amd buildable for archs without shlibs support like hpcsh.
(i've tested i386->hpcsh cross-compile)

pointed by Torsten Harenberg on tech-hpcsh
and analyzed by Valeriy E. Ushakov.
2003-05-18 09:44:28 +00:00
lukem 826a14607a Now that <bsd.prog.mk> DTRT if HOSTPROG is defined (i.e, it is a no-op),
there's no need to special-case .include-ing it.
2003-05-18 07:57:31 +00:00
itojun ef713a2fe9 use strlcat 2003-05-17 21:00:57 +00:00
itojun 89bf339ad7 use strlcpy/strlcat 2003-05-17 20:58:39 +00:00
itojun c428db5b2f use strlcpy 2003-05-17 20:55:44 +00:00
itojun 9e390651ee remove local copy of strl{cat,cpy} 2003-05-17 20:49:28 +00:00
itojun 85da88227f use strlcpy/strlcat.
[fix off-by-one in displayq.c]
2003-05-17 20:46:42 +00:00
itojun b37b18f113 remove obsolete comment 2003-05-17 19:19:50 +00:00
itojun d0f8b66023 strncpy -> strlcpy 2003-05-17 19:18:59 +00:00
itojun 84e2880efb KNF 2003-05-17 19:14:25 +00:00
itojun d0512514bd use strlcpy. don't hardcode sizes, use sizeof. 2003-05-17 19:09:08 +00:00
itojun 4a1c105c26 ensure string termination 2003-05-17 19:00:22 +00:00
itojun f35cce81c8 strncpy -> strlcpy 2003-05-17 18:51:13 +00:00
itojun 3d2b0dbc0e strncpy -> strlcpy 2003-05-17 18:13:55 +00:00
itojun 658519705e sscanf possible overrun 2003-05-17 14:56:40 +00:00
itojun 682aab7791 sscanf overrun 2003-05-17 14:54:53 +00:00
itojun 405a7327c7 fix strncat too. from wiz 2003-05-17 13:56:41 +00:00
dsl 35605a88c0 A slightly better inet_parse(), tested in isolation. 2003-05-17 09:39:04 +00:00
itojun aa5672d8c5 sscanf overrun 2003-05-17 01:02:01 +00:00
itojun 5be6cd5c8d prevent sscanf overrun 2003-05-17 00:50:36 +00:00
itojun 4fb82a79ed strlcpy 2003-05-17 00:46:04 +00:00
itojun 7bd6640a6d strlcat 2003-05-17 00:44:49 +00:00
dsl da0369cc40 Match latest mrouted source. 2003-05-16 23:24:38 +00:00
dsl 1f67e2a5fa Match latest mouted code 2003-05-16 23:10:15 +00:00
dsl d26eb4f4c2 Make this comple with modified mrouted sources. 2003-05-16 23:00:29 +00:00
dsl ee70b5d6af Revert previous change. Remove s parameter from teh function and rotate
the result through a fixed set of strings instead.
There never was a possibility of a buffer overrun in inet_fmt{s}().
Fix an actual buffer overrun in a scanf() call.
2003-05-16 22:59:50 +00:00
itojun bd26fba38c avoid possible buffer overrun 2003-05-16 18:28:18 +00:00
itojun 272c80e349 avoid possible buffer overrun 2003-05-16 18:15:34 +00:00
itojun 761f7bebc3 avoid possible buffer overruns - strlcpy, snprintf 2003-05-16 18:10:37 +00:00
itojun 646e6960b2 blank line 2003-05-16 14:53:55 +00:00
christos 03db714fce - zero out the sockaddr before passing it to the kernel.
- print the reason of the export failure.
2003-05-16 14:03:31 +00:00
abs 81ab107137 maybe -> may be 2003-05-16 08:37:09 +00:00
itojun d25769c013 assume presense of getifaddrs(3). 2003-05-15 14:50:02 +00:00
itojun 5818b97495 assume getifaddrs(3) 2003-05-15 14:47:49 +00:00
itojun 68452c0c92 assume presense of getifaddrs(3). 2003-05-15 14:44:57 +00:00
itojun e24f1908e1 byebye savestr. with savestr() we can't free(). 2003-05-15 14:34:39 +00:00
itojun 0f0398257d simplify by strdup. expilcitly specify IPPROTO_TCP (to cope with sctp-ready
getaddrinfo).
2003-05-15 00:23:54 +00:00
itojun 6cad7b99db simplify by using strdup. from kame 2003-05-15 00:19:30 +00:00
itojun 723a0d30ad just for safety 2003-05-15 00:08:10 +00:00
itojun f2bfdc2f65 traceroute.c doesn't use savestr() 2003-05-15 00:04:16 +00:00
itojun a37f9a315d strcpy audit (command line argument was used as src, subject to overrun) 2003-05-15 00:02:25 +00:00
itojun b2189acdb8 whitespace fix 2003-05-14 23:58:23 +00:00
itojun 4b641df88a strlcpy audit 2003-05-14 23:53:09 +00:00
wiz d75f1336b3 Uppercase URL. 2003-05-14 14:30:59 +00:00
wiz d43e332f1e setup -> set up. 2003-05-14 12:11:03 +00:00
dbj f1e0ecadf7 remove dependencies on ${LIBC} ${LIBM} and ${LIBTERMCAP} static libraries
from host tool targets.  Commits fix from PR toolchain/21495
2003-05-14 00:24:06 +00:00
martin 6d77f1d081 Add some error handling for an ioctl - the old code could loop tightly if
the peer closed a socket unexpectedly.
This addresses one of the issues Frank Kardel patched (differently) in
PR kern/21448, after clarification from Frank via private mail.
2003-05-13 07:07:37 +00:00
ragge 855df1740e Don't build kvm_mkdb anymore. 2003-05-11 18:19:09 +00:00
itojun 2ab2b66ee8 just for safety - use sizeof 2003-05-09 00:48:59 +00:00
itojun 5397d22f9f KNF 2003-05-09 00:47:46 +00:00