#
313100 |
|
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
|
#
302408 |
|
07-Jul-2016 |
gjb |
Copy head@r302406 to stable/11 as part of the 11.0-RELEASE cycle. Prune svn:mergeinfo from the new branch, as nothing has been merged here.
Additional commits post-branch will follow.
Approved by: re (implicit) Sponsored by: The FreeBSD Foundation |
#
299971 |
|
16-May-2016 |
truckman |
Fix off by one error that overflowed the rep_len array when doing the final NUL termination.
Reported by: Coverity CID: 1007617 MFC after: 1 week
|
#
299500 |
|
12-May-2016 |
pfg |
chat(8): use NULL instead of zero for initializing a pointer.
|
#
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'.
|
#
236213 |
|
28-May-2012 |
kevlo |
Make sure that each va_start has one and only one matching va_end, especially in error cases.
|
#
176888 |
|
06-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)
|
#
119316 |
|
22-Aug-2003 |
markm |
Big cleanup. Remove unused stuff, make closer to style(9).
OK'ed by: peter (long time ago)
|
#
102412 |
|
25-Aug-2002 |
charnier |
Replace various spelling with FALLTHROUGH which is lint()able
|
#
102084 |
|
19-Aug-2002 |
jmallett |
Remove local prototypes for main().
|
#
92920 |
|
21-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>
|
#
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 |
|
27-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)
|
#
34766 |
|
21-Mar-1998 |
peter |
merge ppp-2.3.3 changes onto mainline
|
#
32069 |
|
28-Dec-1997 |
alex |
-Wall cleanup.
|
#
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.
|
#
11990 |
|
31-Oct-1995 |
peter |
Merge in changes from ppp-2.2's chat onto the mainline...
|
#
8874 |
|
30-May-1995 |
rgrimes |
Remove trailing whitespace.
|
#
5168 |
|
18-Dec-1994 |
ache |
Use proper lock dir name
|
#
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.
|
#
4374 |
|
12-Nov-1994 |
lars |
chat for ppp, from ppp 2.1.2
|