mirror of
https://github.com/PowerShell/openssh-portable.git
synced 2025-07-28 08:14:24 +02:00
- stevesk@cvs.openbsd.org 2001/12/10 16:45:04
[sshd.c] possible fd leak on error; ok markus@
This commit is contained in:
parent
ee11625d43
commit
72c336def6
@ -12,6 +12,9 @@
|
|||||||
[auth2.c auth2-chall.c auth.h]
|
[auth2.c auth2-chall.c auth.h]
|
||||||
add auth2_challenge_stop(), simplifies cleanup of kbd-int sessions,
|
add auth2_challenge_stop(), simplifies cleanup of kbd-int sessions,
|
||||||
fixes memleak.
|
fixes memleak.
|
||||||
|
- stevesk@cvs.openbsd.org 2001/12/10 16:45:04
|
||||||
|
[sshd.c]
|
||||||
|
possible fd leak on error; ok markus@
|
||||||
|
|
||||||
20011219
|
20011219
|
||||||
- (stevesk) OpenBSD CVS sync X11 localhost display
|
- (stevesk) OpenBSD CVS sync X11 localhost display
|
||||||
@ -7040,4 +7043,4 @@
|
|||||||
- Wrote replacements for strlcpy and mkdtemp
|
- Wrote replacements for strlcpy and mkdtemp
|
||||||
- Released 1.0pre1
|
- Released 1.0pre1
|
||||||
|
|
||||||
$Id: ChangeLog,v 1.1695 2001/12/21 01:42:34 djm Exp $
|
$Id: ChangeLog,v 1.1696 2001/12/21 01:44:28 djm Exp $
|
||||||
|
3
sshd.c
3
sshd.c
@ -40,7 +40,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include "includes.h"
|
#include "includes.h"
|
||||||
RCSID("$OpenBSD: sshd.c,v 1.215 2001/12/06 13:30:06 markus Exp $");
|
RCSID("$OpenBSD: sshd.c,v 1.216 2001/12/10 16:45:04 stevesk Exp $");
|
||||||
|
|
||||||
#include <openssl/dh.h>
|
#include <openssl/dh.h>
|
||||||
#include <openssl/bn.h>
|
#include <openssl/bn.h>
|
||||||
@ -1030,6 +1030,7 @@ main(int ac, char **av)
|
|||||||
}
|
}
|
||||||
if (fcntl(newsock, F_SETFL, 0) < 0) {
|
if (fcntl(newsock, F_SETFL, 0) < 0) {
|
||||||
error("newsock del O_NONBLOCK: %s", strerror(errno));
|
error("newsock del O_NONBLOCK: %s", strerror(errno));
|
||||||
|
close(newsock);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
if (drop_connection(startups) == 1) {
|
if (drop_connection(startups) == 1) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user