Re: libkern stack_protector

看板DFBSD_kernel作者時間21年前 (2005/01/31 02:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串4/4 (看更多)
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
文章代碼(AID): #11_I4E00 (DFBSD_kernel)
文章代碼(AID): #11_I4E00 (DFBSD_kernel)