sshd broken on arm?

Willem Jan Withagen wjw at digiware.nl
Fri Jan 25 05:02:15 PST 2008


Dag-Erling Smørgrav wrote:
> It is an array of char, and char has no special alignment requirement.
> 
> The bug is in the code, which uses pointer aliasing in a way that is
> strictly speaking legal but which places responsibility for alignment
> issues squarely in the code and not the compiler.

This is exactly what I ment by 'obfuscated code' and a liberal language 
like 'C'.

--WjW


More information about the freebsd-arm mailing list