openssh 3.7.1p2 fault on solaris 9 for sparc when built as 64-bit
Darren Tucker
dtucker at zip.com.au
Thu Jan 8 13:48:16 EST 2004
Alex Kiernan wrote:
> "Thomas A. Kyle" <tkyle at jinx.umsl.edu> writes:
> [bus fault on 64 bit Solaris]
>
> I'd guess this might fix it (I'm guessing w/o a stack trace) - its
> completely untested:
[snip patch]
> mode_t is uint_t when you're in a 64 bit Solaris userland, so %lo is
> too wide to fit.
Spot on, both analysis and patch. The following has been in the tree
for a while (unfortunately it wasn't in the 3.7.1p2 release).
--
Darren Tucker (dtucker at zip.com.au)
GPG key 8FF4FA69 / D9A3 86E9 7EEE AF4B B2D4 37C9 C982 80C7 8FF4 FA69
Good judgement comes with experience. Unfortunately, the experience
usually comes from bad judgement.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: openssh-solaris-sigbus.patch
Url: http://lists.mindrot.org/pipermail/openssh-unix-dev/attachments/20040108/4cb5e817/attachment.ksh
More information about the openssh-unix-dev
mailing list