Re: memory pages nulling when releasing

看板FB_security作者時間19年前 (2006/06/21 10:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串24/27 (看更多)
On 2006-06-20 17:05, Dan Lukes <dan@obluda.cz> wrote: >> There's "Z" malloc option that's used to initialise page with zeros >> instead of 0xd0 > > Difference betwen Z and J isn't the fill value only. Z apply > for allocations of new memory (when imalloc() called); J apply > on changes in allocated block size (e.g. realloc) and free. So > 'Z' doesn't "zero on free" but "zero on alloc". Well, things > aren't simple as Z implies J ... > > BTW, Z nor J doesn't imply 'R' despite of text of manual page. Are you sure? Then we should fix the manpage. Cc'ing Jason Evans, who may be interested too. _______________________________________________ freebsd-security@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-security To unsubscribe, send any mail to "freebsd-security-unsubscribe@freebsd.org"
文章代碼(AID): #14cAY000 (FB_security)
討論串 (同標題文章)
文章代碼(AID): #14cAY000 (FB_security)