summaryrefslogtreecommitdiffstats
path: root/contrib
Commit message (Collapse)AuthorAgeFilesLines
* More potential buffer overflow fixes.ru2001-07-204-35/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | o Fixed `nfrontp' calculations in output_data(). If `remaining' is initially zero, it was possible for `nfrontp' to be decremented. Noticed by: dillon o Replaced leaking writenet() with output_datalen(): : * writenet : * : * Just a handy little function to write a bit of raw data to the net. : * It will force a transmit of the buffer if necessary : * : * arguments : * ptr - A pointer to a character string to write : * len - How many bytes to write : */ : void : writenet(ptr, len) : register unsigned char *ptr; : register int len; : { : /* flush buffer if no room for new data) */ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ : if ((&netobuf[BUFSIZ] - nfrontp) < len) { : /* if this fails, don't worry, buffer is a little big */ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ : netflush(); : } : : memmove(nfrontp, ptr, len); : nfrontp += len; : : } /* end of writenet */ What an irony! :-) o Optimized output_datalen() a bit.
* This merges in the changes from the 2.11.2 release to the FSF anoncvsobrien2001-07-205-5/+17
| | | | 19-July-2001 snapshot.
* This commit was generated by cvs2svn to compensate for changes in r80016,obrien2001-07-2029-225/+1535
|\ | | | | | | which included commits to RCS files with non-trunk default branches.
| * Import of Binutils from the FSF 2.11 branch [checked out 19-July-2001].obrien2001-07-2034-230/+1552
| | | | | | | | This fixes an annoying `ld' bug.
* | Update for the Bintuils 2.11.2 import.obrien2001-07-201-3/+3
| |
* | vsnprintf() can return a value larger than the buffer size.ru2001-07-191-1/+1
| | | | | | | | | | Submitted by: assar Obtained from: OpenBSD
* | Fixed the exploitable remote buffer overflow.ru2001-07-196-314/+219
| | | | | | | | | | | | Reported on: bugtraq Obtained from: Heimdal, NetBSD Reviewed by: obrien, imp
* | This commit was generated by cvs2svn to compensate for changes in r79971,obrien2001-07-1929-0/+19997
|\ \ | | | | | | | | | which included commits to RCS files with non-trunk default branches.
| * | Import of LukeM's ftp client, version 1.5.obrien2001-07-1929-0/+19997
| /
* | This commit was generated by cvs2svn to compensate for changes in r79968,obrien2001-07-1930-0/+15364
|\ \ | | | | | | | | | which included commits to RCS files with non-trunk default branches.
| * | Import of LukeM's ftpd version 1.1.obrien2001-07-1930-0/+15364
| /
* | Fix an underflow resulting from the assumption !O_ISSET(sp, O_LEFTRIGHT)dd2001-07-191-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | (ironically, the assumption is in a code block which is conditional on its converse). This isn't strictly the correct fix; it's more of a workaround to prevent an infinite loop. The correct fix (see ports/editors/nvi-devel/files/patch-vi-relative r1.1) would take a file off the vendor branch, but since the result for this version of nvi is identical, this route was elected. PR: 28687 Approved by: -developers
* | This commit was generated by cvs2svn to compensate for changes in r79847,ru2001-07-182-53/+98
|\ \ | | | | | | | | | which included commits to RCS files with non-trunk default branches.
| * | From ChangeLog:ru2001-07-182-53/+98
| | | | | | | | | | | | | | | | | | | | | | | | : 2001-07-18 Ruslan Ermilov <ru@FreeBSD.org> : : * tmac/groff_mdoc.man: Document new -width and -column syntax. : Some other minor fixes. : * tmac/an-old.tmac: Add `AT' and `UC' macros.
* | | Connect std{in,out,err} to *something* so that "hooks" scripts that writeobrien2001-07-161-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | to std{err,out} will not spam /etc/resolv.conf. Ted Lemon fixed the problem in version 3 of the client, but only for the pre-daemonized case. Thanks to Brian for pointing that out and helping to make our future dhclient (v3) better. Submitted by: brian
* | | Fix SHA1 hashing.markm2001-07-142-21/+17
| | |
* | | Usse a better method to get a user's credentials, as uid's may bemarkm2001-07-141-1/+3
| | | | | | | | | | | | | | | | | | legally duplicated. Requested by: ache
* | | This commit was generated by cvs2svn to compensate for changes in r79655,ru2001-07-132-126/+169
|\ \ \ | |/ / | | | | | | which included commits to RCS files with non-trunk default branches.
| * | Import latest mdoc(7) fixes of mine.ru2001-07-132-126/+169
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fold -xwidth functionality into -width. .Bl now tests whether string immediately following a leading dot starts with a valid macro name. Added similar functionality to the -column list's column width specifiers. For example, the following now works as expected: .Bl -column ".Va hw.crusoe.percentage" ".Vt integer" "Changeable" .It Sy "Name\tType\tChangeable\tDescription" .It Va hw.crusoe.longrun Ta Vt integer Ta yes Ta "LongRun mode:" .It Ta Ta Ta "0: minimum frequency mode" .It Ta Ta Ta "1: power-saving mode" .It Ta Ta Ta "2: performance mode" .It Ta Ta Ta "3: maximum frequency mode" .It Va hw.crusoe.frequency Ta Vt integer Ta no Ta "Current frequency (MHz)." .It Va hw.crusoe.voltage Ta Vt integer Ta no Ta "Current voltage (mV)." .It Va hw.crusoe.percentage Ta Vt integer Ta no Ta "Processing performance (%)." .El This is especially useful for groff devices with variable width fonts, like -Tps or -TX100.
| * | Removed files not present in v1.17.2 import.ru2001-07-103-138/+0
| | |
* | | This page is in man(7) format.ru2001-07-131-1/+1
| | |
* | | libiberty file list for the 11-July-2000 import.obrien2001-07-121-0/+35
| | |
* | | Eliminate troff(1) warnings that were hiding some useful text.ru2001-07-121-1/+1
| | |
* | | Fixed warning:ru2001-07-121-1/+1
| | | | | | | | | | | | bc.1:643: warning: numeric expression expected (got `e')
* | | Merge Groff 1.17.2 changes.ru2001-07-104-23/+54
| | |
* | | Use stock (FSF) version of this file.ru2001-07-101-0/+2
| | |
* | | This commit was generated by cvs2svn to compensate for changes in r79546,ru2001-07-103-138/+0
| | | | | | | | | | | | which included commits to RCS files with non-trunk default branches.
* | | This commit was generated by cvs2svn to compensate for changes in r79543,ru2001-07-10116-2424/+5819
|\ \ \ | |/ / | | | | | | which included commits to RCS files with non-trunk default branches.
| * | Virgin import of FSF groff v1.17.2ru2001-07-10123-2457/+5892
| | |
* | | mdoc(7) police: removed HISTORY info from the .Os call.ru2001-07-103-4/+3
| | |
* | | It is just stupid to have to do ``<ESC>!rm -f %'' to write a file you own.obrien2001-07-091-0/+29
| | | | | | | | | | | | | | | | | | So lets stop that nonsense and allow `w!' to do something useful. Submitted by: green
* | | mdoc(7) police: merge all fixes from non-crypto version.ru2001-07-051-58/+92
| | |
* | | MF non-crypto: 1.13: document -u in usage.ru2001-07-051-8/+8
| | |
* | | Unbreak "paranoid" host checking, which was broken with the IPv6 codekris2001-07-041-1/+1
| | | | | | | | | | | | | | | | | | import. Submitted by: Tony Finch <dot@dotat.at>
* | | This commit was generated by cvs2svn to compensate for changes in r78844,obrien2001-06-262-0/+1139
|\ \ \ | | |/ | |/| | | | which included commits to RCS files with non-trunk default branches.
| * | Import of GNU Binutils version 2.11.2.obrien2001-06-262-0/+1139
| | |
* | | Merge rev 1.2 (teach `ld' how to access FreeBSD's ld ELF hints)obrien2001-06-261-36/+27
| | | | | | | | | | | | into Binutils 2.11.2.
* | | We use the stock (2.11.2) version of this now.obrien2001-06-265-313/+419
| | |
* | | Merge rev 1.2 (FreeBSD configuration support) into Binutils 2.11.2.obrien2001-06-261-6/+18
| | |
* | | We use the stock (2.11.2) version of this file now.obrien2001-06-261-2/+12
| | |
* | | Use the stock (2.11.2) version of this now.obrien2001-06-263-467/+472
| | |
* | | Use the vendor's 2.11.2 version of this file as in rev 1.4.obrien2001-06-261-4/+4
| | |
* | | Merge rev 1.2 (configuration changes to support FreeBSD) into Binutils 2.11.2.obrien2001-06-261-1/+2
| | |
* | | Really wish this could back on the vendor branch...obrien2001-06-261-91/+199
| | | | | | | | | | | | Commit the stock 2.11.2 version.
* | | Merge rev 1.6 (only define "ELF_DYNAMIC_INTERPRETER" if it isn't definedobrien2001-06-261-26/+38
| | | | | | | | | | | | elsewhere) into Binutils 2.11.2.
* | | Merge rev 1.8 (only define "ELF_DYNAMIC_INTERPRETER" if it isn't definedobrien2001-06-261-3/+56
| | | | | | | | | | | | elsewhere.) into Binutils 2.11.2.
* | | Merge our ELF branding into Binutils 2.11.2.obrien2001-06-261-47/+86
| | |
* | | This commit was generated by cvs2svn to compensate for changes in r78828,obrien2001-06-26434-5399/+11746
|\ \ \ | |/ / | | | | | | which included commits to RCS files with non-trunk default branches.
| * | Import of GNU Binutils version 2.11.2.obrien2001-06-26454-7059/+13621
| | |
* | | Make the similar changes as in our keyinfo, i.e. allow user to get his ownache2001-06-231-10/+16
| | | | | | | | | | | | | | | sequence and allow root to get everybody's one. Before this change user can't get his own sequence, root required.
OpenPOWER on IntegriCloud