| Summary: | sshd 2.9 core dumps with UseLogin yes | ||
|---|---|---|---|
| Product: | Base System | Reporter: | AnarCat <AnarCat> |
| Component: | bin | Assignee: | dwmalone |
| Status: | Closed FIXED | ||
| Severity: | Affects Only Me | ||
| Priority: | Normal | ||
| Version: | 4.4-STABLE | ||
| Hardware: | Any | ||
| OS: | Any | ||
|
Description
AnarCat
2001-11-17 20:50:01 UTC
On Sat, Nov 17, 2001 at 03:47:08PM -0500, The Anarcat wrote:
> In the logs, I see:
>
> /kernel: pid 58148 (sshd), uid 0: exited on signal 11
I think this bug also exists in -current. Could you try the following
patch?
David.
Index: /usr/src/crypto/openssh/session.c
===================================================================
RCS file: /cvs/FreeBSD-CVS/src/crypto/openssh/session.c,v
retrieving revision 1.16
diff -u -r1.16 session.c
--- /usr/src/crypto/openssh/session.c 8 Jun 2001 22:22:09 -0000 1.16
+++ /usr/src/crypto/openssh/session.c 18 Nov 2001 12:22:28 -0000
@@ -1003,7 +1003,7 @@
char cmd[1024];
FILE *f = NULL;
u_int envsize, i;
- char **env;
+ char **env = NULL;
extern char **environ;
struct stat st;
char *argv[10];
State Changed From-To: open->feedback See if the suggested patch works or not. Responsible Changed From-To: freebsd-bugs->dwmalone I think I see the problem here. On Dim nov 18, 2001 at 12:41:00pm +0000, David Malone wrote:
> On Sat, Nov 17, 2001 at 03:47:08PM -0500, The Anarcat wrote:
> > In the logs, I see:
> >
> > /kernel: pid 58148 (sshd), uid 0: exited on signal 11
>
>
> I think this bug also exists in -current. Could you try the following
> patch?
It fixes it! Thanks!!!
A.
State Changed From-To: feedback->closed Fix committed to -current and -stable. |