tech-crypto archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: NetBSD 4.0 sshd: protocol violation



>> the core-dumped boolean was 0x80 (probably because that's the
>> core-dumped bit in a wait() status), and of booleans RFC4251 says
>> "applications MUST NOT store values other than 0 and 1".
> Does this patch fix it?  If so, the change should be fed back to openssh.
> -             packet_put_char(WCOREDUMP(status));
> +             packet_put_char(WCOREDUMP(status) ? 1 : 0);

Looks plausible.  I should be able to report definitely in a few hours
at most.

/~\ The ASCII                           der Mouse
\ / Ribbon Campaign
 X  Against HTML               mouse%rodents.montreal.qc.ca@localhost
/ \ Email!           7D C8 61 52 5D E7 2D 39  4E F1 31 3E E8 B3 27 4B


Home | Main Index | Thread Index | Old Index