Core dump in sftp from CVS

Damien Miller djm at mindrot.org
Thu Jan 16 15:34:06 EST 2003


Darren Tucker wrote:
> Damien Miller wrote:
> 
>>hmm. The code is wrong, but I don't think it should segv - automatic
>>variables should be initialised to zero no?
> 
> 
> I thought they were undefined and could contain whatever happened to be
> on the stack (although a platform could choose to zero it, zero being
> just as undefined as any other value). In one of my cases, i was 14.

In any case - I have already commited the fix to the OpenBSD tree. It 
will end up in portable soon.

-d






More information about the openssh-unix-dev mailing list