Commit Graph

1487 Commits

Author SHA1 Message Date
Kris Kennaway
c9f7579521 Don't write past the end of our fd_set
Obtained from:	OpenBSD, via KAME
2000-10-08 07:58:32 +00:00
Kris Kennaway
d35c03b40d Format string paranoia. 2000-10-08 07:54:43 +00:00
Ruslan Ermilov
427f20937d Fix the `missing footer' problem. See the comment for details.
Obtained from:	NetBSD
2000-10-06 13:22:24 +00:00
Kris Kennaway
7524a0790d * Buffer-safe string function cleanup. There are a couple of strcpy()
and strcat()s which would be more difficult to fix, but I think they're
  safe anyway.
* Don't crash at runtime by overflowing a buffer with constant data in
  print-icmp.c on a long hostname.
* Don't overflow a static buffer by trying to decode an AFS ACL into a buffer
  which is way too small for it.

Reviewed by:    -audit
2000-10-05 02:49:49 +00:00
Warner Losh
1e3661ab60 display.c: sprintf -> snprintf
top.c: fix from NetBSD/OpenBSD: make sure that new_message() is called
with a format.

Add $FreeBSD$ While I'm here.

These files are already off the vendor branch.
2000-10-04 23:34:16 +00:00
Peter Wemm
ba9369b9b9 Merge changes from 1.10.7 -> 1.11 into mainline. Note that the old
anoncvs no-password hack is gone and is replaced by the official version.
2000-10-02 06:43:58 +00:00
Peter Wemm
d65e2e3fd6 This commit was generated by cvs2svn to compensate for changes in r66525,
which included commits to RCS files with non-trunk default branches.
2000-10-02 06:33:59 +00:00
Peter Wemm
a3b502f88f Import cvs-1.11 onto vendor branch. 2000-10-02 06:33:59 +00:00
Gregory Neil Shapiro
31305937b3 Add missing FreeBSD-only flag to the usage statement. 2000-10-01 16:32:16 +00:00
Gregory Neil Shapiro
e30cb8b125 Update FreeBSD import information after sendmail 8.11.1 import 2000-10-01 02:06:00 +00:00
Gregory Neil Shapiro
d995d2ba6b Fix conflicts from merge of sendmail 8.11.1 2000-10-01 02:03:50 +00:00
Gregory Neil Shapiro
a9ff8c001c This commit was generated by cvs2svn to compensate for changes in r66494,
which included commits to RCS files with non-trunk default branches.
2000-10-01 01:49:02 +00:00
Gregory Neil Shapiro
42e5d16589 Import of sendmail version 8.11.1 into vendor branch SENDMAIL with
release tag v8_11_1.

Obtained from: ftp://ftp.sendmail.org/pub/sendmail/
2000-10-01 01:49:02 +00:00
Gregory Neil Shapiro
f14ecfa18a Remove Build files -- they rely on the devtools system which isn't imported
(or used)
2000-10-01 01:22:44 +00:00
Peter Wemm
33cd46fe61 Missing quote
PR:		misc/19745
Submitted by:	Tony Finch <dot@dotat.at>
2000-09-25 18:23:34 +00:00
Hajimu UMEMOTO
6568848868 - reject numeric address
- validate scope in sockaddr comparison logic

patch was originally submitted by itojun and slightly modified by me.

Reviewed by:	itojun, kris
2000-09-25 00:41:55 +00:00
Hajimu UMEMOTO
2f0cc2fd05 Don't touch ai_canonname without checking NULL. Current
implementation of getaddrinfo() may return NULL ai_canonname.
There is no consensus how getaddrinfo() should fill ai_canonname
when numeric hostname is given.

Reported by:	kris
2000-09-23 15:40:12 +00:00
Ruslan Ermilov
05afaf4b47 Removed files not present in v1_15 import. 2000-09-22 10:05:18 +00:00
Ruslan Ermilov
7a0a11ad32 Fixed the `mysterious blank lines' problem. This was due to unconditional
use of the .ne requests.  groff(1) apparently inserts some virtual trap at
the end of each page, and this was causing the .ne request to output extra
lines.  Solution is to only use them in troff mode.

Also fixed a related bug in .It macros, where it would insert a page break
in the middle of a sentence.

Removed the end of page trap in nroff mode, as this causes .sp requests to
sometimes eat the space due to the nearby trap.

Removed blank line that appeared as the first line on each nroff-formatted
manual page.

Obtained from:	NetBSD
2000-09-21 17:02:15 +00:00
Peter Wemm
a1e753fa30 Don't declare ospeed as a common - and it happens to be incorrect as well.
top doesn't use it and it causes a linker warning.
2000-09-16 19:36:18 +00:00
Brian Feldman
0fbf304b54 Also coerce diff(1) into working the other way (from no-\n to \n).
Taking out the evil warning fixed it one way, but didn't make the
other way any better, so replace it with printing a single \n.
2000-09-15 11:35:16 +00:00
Brian Somers
fd4409e068 Revert my last change. libutil.h is still required for setusercontext()
and unistd.h is already included.

Requested by:	gshapiro
2000-09-06 17:59:37 +00:00
Sheldon Hearn
c3f4a67494 Fix bug that causes gawk to choke when parsing long source files.
Reported by:	Tony Fleisher <takhus@takhus.mind.net>
Submitted by:	Aharon Robbins <arnold@skeeve.com>
2000-09-04 10:42:19 +00:00
Brian Somers
9feac5c218 Move setproctitle() from libutil to libc (after a repo-copy)
and bump __FreeBSD_version to 500012 to mark the occasion.

setproctitle() is prototyped in unistd.h as opposed to stdlib.h
where OpenBSD and NetBSD have it.

Reviewed by: peter
2000-09-02 01:51:36 +00:00
Ruslan Ermilov
35cf65631c Teach .Fx and .Os about FreeBSD 4.2. 2000-09-01 10:30:40 +00:00
David E. O'Brien
405177510c Document change to the default mount dir. 2000-09-01 01:17:18 +00:00
David E. O'Brien
9f299dcfbb Since this is off the vendor branch, might as well change the default
mounting directory to what we always specify in /etc/defaults/rc.conf.
2000-09-01 01:15:56 +00:00
Alexey Zelkin
b0f28b7f4a Add libusb record for .Lb macro 2000-08-29 15:15:48 +00:00
Kris Kennaway
4fbd047fee This commit was generated by cvs2svn to compensate for changes in r65016,
which included commits to RCS files with non-trunk default branches.
2000-08-23 09:25:05 +00:00
Kris Kennaway
4635a6924f Fix for buffer overflow in command-line arguments to dnsquery(1) which
will be appearing in 8.2.3

Approved by:	Paul A Vixie <vixie@mibh.net>
2000-08-23 09:25:05 +00:00
Alexey Zelkin
2cdbd5eec4 Ukrainian message catalogs for vi.
Submitted by:	Kunytsa Oleksander <kunia@snark.ukma.kiev.ua>
2000-08-22 21:59:42 +00:00
Mark Murray
24ad19c546 Resolve conflicts. 2000-08-20 09:51:08 +00:00
Mark Murray
169c95233c This commit was generated by cvs2svn to compensate for changes in r64866,
which included commits to RCS files with non-trunk default branches.
2000-08-20 08:43:07 +00:00
Mark Murray
8947993a91 Vendor supplied patches to fix procname ($0) 2000-08-20 08:43:07 +00:00
Sheldon Hearn
e4b22f69ae Describe the process used for the gawk-3.0.6 update in
FREEBSD-upgrade and remove the config.h which should never
have existed in the contrib area.  That file has been moved
into gnu/usr.bin/awk where it belongs.
2000-08-15 14:42:50 +00:00
Sheldon Hearn
3c28a656f2 Merge the vendor release of gawk-3.0.6 onto HEAD.
This addresses one known problem in the PR database.

PR:		13921
Reported by:	Jin Guojun <j_guojun@lbl.gov>
2000-08-15 10:20:01 +00:00
Sheldon Hearn
86a0a16ecd This commit was generated by cvs2svn to compensate for changes in r64666,
which included commits to RCS files with non-trunk default branches.
2000-08-15 10:02:07 +00:00
Sheldon Hearn
4192247c04 Update vendor branch to gawk-3.0.6. 2000-08-15 10:02:07 +00:00
Mark Murray
29c800e0e7 Suidperl fixes.
1) Official patch - remove the whole effort to fork off a process
   to run /bin/mail; we don't have a /bin/mail, but this brings our
   code in line with mainstream Perl recommendation.

2) Make the "Can't do setuid" message a bit clearer; when our userbase
   bumps into our suidperl-with-no-commit-bit, give them a good clue as
   to what is going on.
2000-08-13 20:05:58 +00:00
Gregory Neil Shapiro
9350bdc398 Fix syntax for Received: header after conflict resolution.
Problem noted by: Andrey A. Chernov <ache@FreeBSD.ORG>
2000-08-13 18:47:42 +00:00
Darren Reed
561e006b67 resolve conflicts 2000-08-13 05:00:44 +00:00
Darren Reed
3002dee911 This commit was generated by cvs2svn to compensate for changes in r64588,
which included commits to RCS files with non-trunk default branches.
2000-08-13 04:58:02 +00:00
Darren Reed
f345cd2b83 Import base ipfilter 3.4.9 into contrib dir. 2000-08-13 04:58:02 +00:00
Gregory Neil Shapiro
cd904b75f9 Add a FREEBSD-upgrade file describing what was done for the import
Remove obsolete files after the 8.11.0 import
2000-08-12 22:25:19 +00:00
Gregory Neil Shapiro
3299c2f123 Fix conflicts from merge of sendmail 8.11.0.
PR:		bin/11552 misc/18512 bin/15088
2000-08-12 22:19:16 +00:00
Gregory Neil Shapiro
06f25ae9f1 Import of sendmail version 8.11.0 into vendor branch SENDMAIL with
release tag v8_11_0.

Obtained from: ftp://ftp.sendmail.org/pub/sendmail/
2000-08-12 21:55:49 +00:00
Gregory Neil Shapiro
e8c96e01af This commit was generated by cvs2svn to compensate for changes in r64562,
which included commits to RCS files with non-trunk default branches.
2000-08-12 21:55:49 +00:00
David E. O'Brien
4a0d94aa19 Fix conflicts. 2000-08-09 18:38:26 +00:00
David E. O'Brien
48a0f0c81a This commit was generated by cvs2svn to compensate for changes in r64234,
which included commits to RCS files with non-trunk default branches.
2000-08-04 09:35:05 +00:00
David E. O'Brien
6bb613ded9 Virgin import of gdb-5.0 2000-08-04 09:35:05 +00:00