Displaying 20 results from an estimated 23 matches for "fatal_cleanups".
Did you mean:
fatal_cleanup
2003 Jan 10
0
Core dump from sshd fatal_cleanup()
...om sshd. They don't
seem to be related to what I was working on.
It's from the process forked to run the shell. Just after the fork,
fatal_remove_all_cleanups() is called, which looks like:
fatal_remove_all_cleanups(void)
{
struct fatal_cleanup *cu, *next_cu;
for (cu = fatal_cleanups; cu; cu = next_cu) {
next_cu = cu->next;
xfree(cu);
}
}
It runs through free'ing the structs, but it leaves the global
fatal_cleanups pointing to the first struct.
If called later, fatal_cleanup() attempts to deref the whatever happens
to be at tha...
2002 Mar 21
2
bug in ssh-keyscan.c --
...}
/* Cleanup and exit */
+int fatal_cleanup_called = 0;
void
fatal_cleanup(void)
{
struct fatal_cleanup *cu, *next_cu;
- static int called = 0;
- if (called)
+ if (fatal_cleanup_called)
exit(255);
- called = 1;
+ fatal_cleanup_called = 1;
+
/* Call cleanup functions. */
for (cu = fatal_cleanups; cu; cu = next_cu) {
next_cu = cu->next;
2001 Aug 07
1
do_pre_login() used before declared
do_pre_login() in session.c is used (in do_exec_pty()) before
it's declared, which is causing some problems for me.
please move it up a couple hundred lines in the file.
patch included for 0807 snapshot.
thanks,
wendy
% diff -u session.c.orig session.c.mod
--- session.c.orig Tue Aug 7 13:11:51 2001
+++ session.c.mod Tue Aug 7 16:21:07 2001
@@ -397,6 +397,34 @@
}
}
2002 Feb 12
3
Problem with ssh-keyscan: no hostkey alg
Hi,
I am using ssh-keyscan with a list of hosts, such as:
ssh-keyscan -t rsa -f hosts_for_keyscan
Some of the hosts in the list have dsa, but no rsa keys. For such
hosts, the command displays:
no hostkey alg
When this is the case for 2 hosts, this message appears twice AND
SSH-KEYSCAN STOPS QUERYING, which means that no keys at all are
returned for the following hosts.
Here is the part of the
2001 Oct 10
1
ssh exit mechanism!
To whomsoever it may concern,
I use putty-0.51 as ssh client on windows and
openssh-2.9p2 implementation on RedHat 7.0 Linux as
ssh server. For the client to exit, I expected ssh
client to send SSH_CMSG_EOF to the server and the
server respond with SSH_CMSG_EXITSTATUS and finally
close the connection when the client sends
SSH_CMSG_EXIT_CONFIRMATION. This will effectively end
the server_loop in
2003 Jan 27
0
[Bug 375] sshd core dumping with msg "Cannot delete credentials"
...- Additional Comments From dtucker at zip.com.au 2003-01-27 11:39 -------
Assuming it's the fatal_cleanup() thing (there's no information to disprove this
and it certainly looks like it), this is now fixed.
20030114
- markus at cvs.openbsd.org 2003/01/11 18:29:43
[log.c]
set fatal_cleanups to NULL in fatal_remove_all_cleanups();
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
2003 Mar 03
1
AIX 4.3.3/OpenSSH 3.5p1 Crashing
I'm getting core dumps from sshd when logging in using password
authentication (using a public key works just fine). The core dump occurs
just after entering a password--whether that password is correct or not. It
only happens on this one machine. I've tried recompiling the entire
setup--zlib, openssl & openssh--and the crash still occurs. It doesn't look
like the putty-failure
2001 Mar 22
0
Solaris UseLogin problem
I was having problems getting the UseLogin option to work
on Solaris.
I would recieve this error:
No utmpx entry. You must exec "login" from the lowest level "shell".
This led me to believe that Solaris login wants a utmpx entry in
order to function. I put together a patch that calls record_login
on Solaris when using the system login. I also noticed that writing
a wtmpx
2000 Mar 07
2
patch for openssh-1.2.2p1
Hi,
openssh-1.2.2p1 seems to have 2 problems on ipv6 (and
ipv4 mapped addresses).
1. "BREAKIN ATTEMPT" warnings from ipv4 node
2. X forwarding
The following patche fixes them.
Thanks.
diff -ru openssh-1.2.2p1/canohost.c openssh-1.2.2p1-20000308/canohost.c
--- openssh-1.2.2p1/canohost.c Fri Jan 14 13:45:48 2000
+++ openssh-1.2.2p1-20000308/canohost.c Wed Mar 8 00:25:18 2000
@@
2000 Aug 24
0
patch for a few things
This isn't related to the snapshot, but mention of it reminded me to submit
these changes.
I added a few things, and made a couple small changes; here's a list of
what the patch includes:
- adds a "-1" argument to ssh and ssh.1 to force protocol1, similar to
the existing "-2" argument.
- adds "-1" and "-2" to scp and scp.1 as well.
- adds
2000 Jun 22
0
Timing bug patch and x509 question.
First the bug:
I've found a timing problem in 2.1.1p1 at the point where the client version
string is read, a core dump with a "Did not receive ident string..." error.
This
problem does not appear to have been mentioned yet in the list archive.
This bug was noted on HP-UX 11.0 but could be a problem on other Unices as
well.
My Q&D fix (patch below) was to spin on EWOULDBLOCK
2000 Aug 08
0
v2 connection logging vs v1
When connecting with v1, the server logs a message when I exit my login
shell:
Closing connection to 130.207.167.32
However, when connecting with v2, it only ever logs:
Connection closed by remote host.
Tracing through the code, it appears that instead of breaking in
serverloop.c:server_loop2() at:
if (had_channel && !channel_still_open()) {
2001 Oct 13
0
local IP in environment
I'm not sure if this is useful to anyone, but I made a small patch to
include the local IP address that the user connected to in the environment
(the opposite of SSH_CLIENT). The variable is called SSH_LOCAL.
-Eric
-------------- next part --------------
*** openssh-2.9.9p2/canohost.c.bak Sun Jun 24 22:01:24 2001
--- openssh-2.9.9p2/canohost.c Fri Oct 12 16:52:09 2001
***************
***
2002 Jan 23
1
[Bug 75] Error compiling in ssh-agent.c (fwd)
Ermmm.. bugzilla does not like return emails.=)
---------- Forwarded message ----------
Date: Wed, 23 Jan 2002 00:25:05 -0600 (CST)
From: mouring at etoh.eviladmin.org
To: bugzilla-daemon at mindrot.org
Subject: Re: [Bug 75] Error compiling in ssh-agent.c
> ------- Additional Comments From djm at mindrot.org 2002-01-23 17:16 -------
> AFAIK atexit() should only take one arg. It looks
2003 Sep 12
2
Possible new configure option: --with-fatal-coredumps?
Hi all.
What's the feeling about adding a new configure-time option to generate a
core dump on when fatal() is called?
It might help debug certain types of problems, but runs the risk of
sensitive information being left in the core dump. Obviously, it should
default to "no".
Anyone like the idea? Anyone hate it?
--
Darren Tucker (dtucker at zip.com.au)
GPG key 8FF4FA69 /
2002 May 20
0
Openssh 3.2.2p1 KRB5 addition
The Kerberos V support may still fail on hosts with two or more
interfaces.
Regards
Markus
-------------- next part --------------
*** auth-krb5.c.orig Mon May 20 11:51:57 2002
--- auth-krb5.c Mon May 20 11:53:34 2002
***************
*** 38,43 ****
--- 38,44 ----
#include "servconf.h"
#include "uidswap.h"
#include "auth.h"
+ #include "canohost.h"
2003 Sep 01
2
[Bug 632] PAM conversation function does not return when connection is aborted
http://bugzilla.mindrot.org/show_bug.cgi?id=632
Summary: PAM conversation function does not return when
connection is aborted
Product: Portable OpenSSH
Version: 3.6.1p2
Platform: All
URL: http://www.cl.cam.ac.uk/~mgk25/otpw.html#opensshbug
OS/Version: Linux
Status: NEW
Severity: major
2001 Apr 29
2
PATCH: UseLogin fix for 2.9p1 (w/improved last-login time)
Attached is the latest version of my UseLogin patch that makes
"UseLogin true" work on Solaris and UNICOS. As usual, I have provided
configure.in changes that set the appropriate defines for Solaris, but
I have not provided the configure.in changes for UNICOS (since they
would be incomplete, and Wendy is working on this).
This version fixes a problem with the last-login time always
2002 Sep 21
4
OpenSSH -current fails regression on Solaris 8, sshd dumps core
Hi All.
While working on something I noticed a regression failure on Solaris 8.
It turned out to be present in -cvs and wasn't due to my changes.
One of the tests that fail is basically:
ssh -2 -F $build/regress/ssh_proxy 999.999.999.999 true
The server reports:
sshd[20529]: Disconnecting: Command terminated on signal 11.
The culprit seems to be session.c line 1019 or so:
snprintf(buf,
2003 Sep 17
2
FreeBSD Security Advisory FreeBSD-SA-03:12.openssh [REVISED]
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
=============================================================================
FreeBSD-SA-03:12 Security Advisory
FreeBSD, Inc.
Topic: OpenSSH buffer management error
Category: core, ports
Module: openssh, ports_openssh,