313103 |
02-Feb-2017 |
asomers |
MFC r311160, r311210, r311288, r311292, r311298, r311340
r311160: misc minor fixes in mpr(4)
sys/dev/mpr/mpr_sas.c * Fix a potential null pointer dereference (CID 1305731) * Check for overrun of the ccb_scsiio.cdb_io.cdb_bytes buffer (CID 1211934)
sys/dev/mpr/mpr_sas_lsi.c * Nullify a dangling pointer in mprsas_get_sata_identify * Fix a memory leak in mprsas_SSU_to_SATA_devices (CID 1211935)
Reported by: Coverity (partially) CID: 1305731 1211934 1211935 Reviewed by: slm MFC after: 4 weeks Sponsored by: Spectra Logic Corp Differential Revision: https://reviews.freebsd.org/D8880
r311210: Quell Coverity for diskinfo(8)
* CID 1198994: Don't run the speed disk on a disk with no sectors * CID 1011442: Don't call close(2) if open(2) fails * CID 1011161: Use snprintf instead of sprintf * CID 1009825: Check the return value of lseek
Reported by: Coverity CID: 1198994 1011442 1011161 1009825 MFC after: 4 weeks Sponsored by: Spectra Logic Corp
r311288: Delete dead code in chat(8)
It's always been dead, ever since first import in 1994. It's still dead in OpenBSD's version, too.
Reported by: Coverity CID: 270586 MFC after: 4 weeks Sponsored by: Spectra Logic Corp
r311292: Remove dead code in rpc_parse.c
It's been dead ever since it was imported from TI-RPC in 1995. The dead code is still present in Illumos today, but was removed from NetBSD in 2006.
Reported by: Coverity CID: 270097 Obtained from: NetBSD MFC after: 4 weeks Sponsored by: Spectra Logic Corp
r311298: Remove dead code in dhclient(8)
The offending code has been dead ever since the import from OpenBSD in r195805. OpenBSD later deleted that entire function.
Reported by: Coverity CID: 500059 MFC after: 4 weeks Sponsored by: Spectra Logic Corp
r311340: Misc Coverity fixes for tail(1)
CID 1006402: Initialize stack variable CID 271580: Don't leak memory when ENOMEM.
Reported by: Coverity CID: 271580 1006402 MFC after: 4 weeks Sponsored by: Spectra Logic Corp |
300461 |
23-May-2016 |
truckman |
MFC r299971
Fix off by one error that overflowed the rep_len array when doing the final NUL termination.
Reported by: Coverity CID: 1007617 |
256281 |
10-Oct-2013 |
gjb |
Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.
Approved by: re (implicit) Sponsored by: The FreeBSD Foundation
|
241737 |
19-Oct-2012 |
ed |
More -Wmissing-variable-declarations fixes.
In addition to adding `static' where possible:
- bin/date: Move `retval' into extern.h to make it visible to date.c. - bin/ed: Move globally used variables into ed.h. - sbin/camcontrol: Move `verbose' into camcontrol.h and fix shadow warnings. - usr.bin/calendar: Remove unneeded variables. - usr.bin/chat: Make `line' local instead of global. - usr.bin/elfdump: Comment out unneeded function. - usr.bin/rlogin: Use _Noreturn instead of __dead2. - usr.bin/tset: Pull `Ospeed' into extern.h. - usr.sbin/mfiutil: Put global variables in mfiutil.h. - usr.sbin/pkg: Remove unused `os_corres'. - usr.sbin/quotaon, usr.sbin/repquota: Remove unused `qfname'.
|
240370 |
11-Sep-2012 |
joel |
Minor mdoc fix.
|
240304 |
10-Sep-2012 |
joel |
mdocify the chat(8) manual page.
Reviewed by: brueffer
|
236213 |
29-May-2012 |
kevlo |
Make sure that each va_start has one and only one matching va_end, especially in error cases.
|
213573 |
08-Oct-2010 |
uqs |
mdoc: drop redundant .Pp and .LP calls
They have no effect when coming in pairs, or before .Bl/.Bd
|
176888 |
07-Mar-2008 |
delphij |
Merge revisions 1.10 and 1.11 from DragonFly:
- Use real getopt() handling instead of the hand-rolled and IOCCC-worthy "Micro getopt()" macros, plus clean up to the option handling code: * Sort the options in the switch statement; * Plug piddling memory leaks when processing repeated options by freeing strings before allocating them for a second time; * Die with a fatal error if the requested report file cannot be opened for appending; * Don't call init() before usage() (to prevent the usage message being mangled by changes to the terminal settings;) - Clean up the usage message, both in usage() and in the main program comment, both stylistically (sort and combine options) and for accuracy (following the manual page, make note of the -s and -S flags, and use the term 'send' instead of 'say' to reduce confusion (SAY is the name of a command for output to the user, not the connection.))
Obtained from: DragonFly
|
121784 |
31-Oct-2003 |
kientzle |
Rename logf --> chat_logf to avoid naming conflicts with GCC built-in (and with C90 reserved library name).
Approved by: gordon (Mentor)
|
121764 |
30-Oct-2003 |
peter |
Replace -fno-builtin-logf with a -D argument to change the function name.
|
121701 |
29-Oct-2003 |
peter |
Disclaim ownership of pppd/chat. It is vendor code, but has been badly neglected here.
|
121544 |
26-Oct-2003 |
peter |
The math function logf() probably isn't doing us much good for logging stuff. Add -fno-builtin-logf.
|
119316 |
22-Aug-2003 |
markm |
Big cleanup. Remove unused stuff, make closer to style(9).
OK'ed by: peter (long time ago)
|
108470 |
30-Dec-2002 |
schweikh |
Fix typos, mostly s/ an / a / where appropriate and a few s/an/and/ Add FreeBSD Id tag where missing.
|
102412 |
25-Aug-2002 |
charnier |
Replace various spelling with FALLTHROUGH which is lint()able
|
102084 |
19-Aug-2002 |
jmallett |
Remove local prototypes for main().
|
100532 |
22-Jul-2002 |
trhodes |
Revert last commit. Sorry for breaking things
|
100529 |
22-Jul-2002 |
trhodes |
MFC: Fix some grammar, greater reduce diffs to HEAD
|
95653 |
28-Apr-2002 |
markm |
Remove GCC-specific flags.
|
92920 |
22-Mar-2002 |
imp |
remove __P
|
80381 |
26-Jul-2001 |
sheldonh |
Use STD{ERR,IN,OUT}_FILENO instead of their numeric values. The definitions are more readable, and it's possible that they're more portable to pathalogical platforms.
Submitted by: David Hill <david@phobia.ms>
|
79755 |
15-Jul-2001 |
dd |
Remove whitespace at EOL.
|
79633 |
12-Jul-2001 |
ru |
Eliminate troff(1) warnings that were hiding some useful text.
|
74848 |
27-Mar-2001 |
ru |
MAN[1-9] -> MAN.
|
57695 |
02-Mar-2000 |
sheldonh |
Remove more single-space hard sentence breaks.
|
57670 |
01-Mar-2000 |
sheldonh |
Remove single-space hard sentence breaks. These degrade the quality of the typeset output, tend to make diffs harder to read and provide bad examples for new-comers to mdoc.
|
53686 |
25-Nov-1999 |
kris |
Fix a buffer overflow due to sending strings >1k in length. This is unlikely to be a security problem, but it's not totally impossible. OpenBSD take note
Reviewed by: imp
|
50477 |
28-Aug-1999 |
peter |
$Id$ -> $FreeBSD$
|
41568 |
06-Dec-1998 |
archie |
Tweaks to allow compiling -Wall (mostly adding "const" to char rcsid[]).
|
37126 |
23-Jun-1998 |
peter |
Merge ppp 2.3.3 -> 2.3.5 changes (for what it's worth)
|
36601 |
03-Jun-1998 |
jkoshy |
Spelling corrections.
PR: 6829 Submitted by: Josh Gilliam <josh@quick.net>
|
34766 |
21-Mar-1998 |
peter |
merge ppp-2.3.3 changes onto mainline
|
32069 |
29-Dec-1997 |
alex |
-Wall cleanup.
|
28600 |
22-Aug-1997 |
peter |
Cleanup and remove the not-too-useful examples. The current versions should be in share/examples if anywhere.
|
28597 |
22-Aug-1997 |
peter |
Merge ppp-2.3.1 changes onto mainline
|
26880 |
24-Jun-1997 |
charnier |
Remove use of program_name variable.
|
24541 |
02-Apr-1997 |
jmg |
make it so that chat doesn't fail when it can't get terminal params.. this allows it to work on non-tty input... also don't warn when this happens as it could get noisy...
Silence is Acceptance
|
23012 |
22-Feb-1997 |
peter |
Revert $FreeBSD$ to $Id$
|
21673 |
14-Jan-1997 |
jkh |
Make the long-awaited change from $Id$ to $FreeBSD$
This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long.
Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise.
|
20510 |
15-Dec-1996 |
alex |
Typo fix.
Submitted by: Philippe Charnier <charnier@xp11.frmug.org>
|
20493 |
15-Dec-1996 |
mpp |
Correct a typo.
Closes PR# 2217.
|
16935 |
03-Jul-1996 |
mpp |
Document how chat logis it information via syslog.
Submitted by: Partially based on a patch by Mark Diekhans
|
13123 |
30-Dec-1995 |
peter |
This commit was generated by cvs2svn to compensate for changes in r13122, which included commits to RCS files with non-trunk default branches.
|
11990 |
31-Oct-1995 |
peter |
Merge in changes from ppp-2.2's chat onto the mainline...
|
11988 |
31-Oct-1995 |
peter |
This commit was generated by cvs2svn to compensate for changes in r11987, which included commits to RCS files with non-trunk default branches.
|
8874 |
30-May-1995 |
rgrimes |
Remove trailing whitespace.
|
5172 |
19-Dec-1994 |
ache |
Use proper device names. Remove fix-cua script, does nothing good.
|
5171 |
19-Dec-1994 |
ache |
Use proper dialout device name
|
5168 |
19-Dec-1994 |
ache |
Use proper lock dir name
|
5058 |
12-Dec-1994 |
ats |
Changed one uucico(1) to uucico(8).
|
4375 |
12-Nov-1994 |
lars |
This commit was generated by cvs2svn to compensate for changes in r4374, which included commits to RCS files with non-trunk default branches.
|