mirror of
https://github.com/PowerShell/openssh-portable.git
synced 2025-07-26 07:15:36 +02:00
- djm@cvs.openbsd.org 2006/03/19 02:24:05
[dh.c readconf.c servconf.c] potential NULL pointer dereferences detected by Coverity via elad AT netbsd.org; ok deraadt@
This commit is contained in:
parent
6db780e259
commit
928b23684a
@ -26,6 +26,10 @@
|
|||||||
[hostfile.c]
|
[hostfile.c]
|
||||||
FILE* leak detected by Coverity via elad AT netbsd.org;
|
FILE* leak detected by Coverity via elad AT netbsd.org;
|
||||||
ok deraadt@
|
ok deraadt@
|
||||||
|
- djm@cvs.openbsd.org 2006/03/19 02:24:05
|
||||||
|
[dh.c readconf.c servconf.c]
|
||||||
|
potential NULL pointer dereferences detected by Coverity
|
||||||
|
via elad AT netbsd.org; ok deraadt@
|
||||||
|
|
||||||
20060325
|
20060325
|
||||||
- OpenBSD CVS Sync
|
- OpenBSD CVS Sync
|
||||||
@ -4283,4 +4287,4 @@
|
|||||||
- (djm) Trim deprecated options from INSTALL. Mention UsePAM
|
- (djm) Trim deprecated options from INSTALL. Mention UsePAM
|
||||||
- (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu
|
- (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu
|
||||||
|
|
||||||
$Id: ChangeLog,v 1.4248 2006/03/26 02:52:20 djm Exp $
|
$Id: ChangeLog,v 1.4249 2006/03/26 02:53:32 djm Exp $
|
||||||
|
3
dh.c
3
dh.c
@ -45,7 +45,8 @@ parse_prime(int linenum, char *line, struct dhgroup *dhg)
|
|||||||
char *strsize, *gen, *prime;
|
char *strsize, *gen, *prime;
|
||||||
|
|
||||||
cp = line;
|
cp = line;
|
||||||
arg = strdelim(&cp);
|
if ((arg = strdelim(&cp)) == NULL)
|
||||||
|
return 0;
|
||||||
/* Ignore leading whitespace */
|
/* Ignore leading whitespace */
|
||||||
if (*arg == '\0')
|
if (*arg == '\0')
|
||||||
arg = strdelim(&cp);
|
arg = strdelim(&cp);
|
||||||
|
@ -324,7 +324,8 @@ process_config_line(Options *options, const char *host,
|
|||||||
|
|
||||||
s = line;
|
s = line;
|
||||||
/* Get the keyword. (Each line is supposed to begin with a keyword). */
|
/* Get the keyword. (Each line is supposed to begin with a keyword). */
|
||||||
keyword = strdelim(&s);
|
if ((keyword = strdelim(&s)) == NULL)
|
||||||
|
return 0;
|
||||||
/* Ignore leading whitespace. */
|
/* Ignore leading whitespace. */
|
||||||
if (*keyword == '\0')
|
if (*keyword == '\0')
|
||||||
keyword = strdelim(&s);
|
keyword = strdelim(&s);
|
||||||
|
@ -447,7 +447,8 @@ process_server_config_line(ServerOptions *options, char *line,
|
|||||||
u_int i;
|
u_int i;
|
||||||
|
|
||||||
cp = line;
|
cp = line;
|
||||||
arg = strdelim(&cp);
|
if ((arg = strdelim(&cp)) != NULL)
|
||||||
|
return 0;
|
||||||
/* Ignore leading whitespace */
|
/* Ignore leading whitespace */
|
||||||
if (*arg == '\0')
|
if (*arg == '\0')
|
||||||
arg = strdelim(&cp);
|
arg = strdelim(&cp);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user