DragonFly kernel List (threaded) for 2005-01
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
Re: libkern stack_protector
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
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]