Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Jan 2008 11:09:54 -0700 (MST)
From:      "M. Warner Losh" <imp@bsdimp.com>
To:        des@des.no
Cc:        freebsd-arm@freebsd.org
Subject:   Re: sshd broken on arm?
Message-ID:  <20080124.110954.179240992.imp@bsdimp.com>
In-Reply-To: <864pd386mj.fsf@ds4.des.no>
References:  <479880A7.1030107@digiware.nl> <20080124.084828.1608359032.imp@bsdimp.com> <864pd386mj.fsf@ds4.des.no>

next in thread | previous in thread | raw e-mail | index | archive | help
In message: <864pd386mj.fsf@ds4.des.no>
            Dag-Erling_Sm=F8rgrav <des@des.no> writes:
: "M. Warner Losh" <imp@bsdimp.com> writes:
: > Actually, the above fix *IS* the correct fix for arm given the ABI
: > that we're using...
: =

: No.  The correct fix is one that will be acceptable to the upstream
: vendor, who has a different perspective on things than we do.

The problem is that the char array isn't guaranteed to be aligned in
any way.  The fix posted is correct.

There may be other fixes too, such as using a union to force
alignment.

Warner



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080124.110954.179240992.imp>