On 13 Apr 2000, Niels Möller wrote:
> This seems wierd indeed. The _client_ crashes when you give the
> --debug flag to the _server_? I've tried it (on Solaris, for now), and
> I wasn't able to reproduce it.
So this was the process:
The server was started with the --debug flag. The client connected with a
remote execution request. The debug message caused memory corruption in
the environment in the server. The server spawned the shell with the
corrupted environment. The shell disliked this and segfaulted. The server
recognized, that its child was dead, so it sent a message about this to
the client. So at last the client exited with the error message, that the
remote shell was killed by a SIGSEGV.

> It looks bad, but it's not as bad as it appears. It's a bug in the
> call to debug() (which has sloppy type checking, as it takes a
> variable number of arguments). This patch should fix that:
This patch solved the problem. :)

Greets,
Keresztg

+ Keresztfalvi Gabor
+ Student of the Budapest University of Technology and Economics 
+ mailto: [EMAIL PROTECTED]  [EMAIL PROTECTED]
+ http://keresztg.ini.hu/


Reply via email to