libkern stack_protector
Joerg Sonnenberger
joerg at britannica.bec.de
Sun Jan 30 08:25:28 PST 2005
On Sat, Jan 29, 2005 at 11:45:53AM -0800, Matthew Dillon wrote:
> Why aren't all the bytes non-zero? Because we also want the guard
> to provide at least one zero byte for string termination. And there
> are a few other reasons too. It's mostly inconsequential but there is
> a method behind the madness.
I guess because both 0xff and 0x0a (new line) have been historically used
as line terminations.
Joerg
More information about the Kernel
mailing list