Contributed by jose on from the breaking-more-software dept.
CVSROOT: /cvs Module name: src Changes by: email@example.com 2003/10/16 11:05:05 Modified files: lib/libc/stdlib: malloc.3 malloc.c Log message: by popular demand, malloc guard pages. insert an unreadable/unwriteable page after each page size allocation to detect overrun. this is somewhat electric fence like, while attempting to be mostly usable in production. also, use tdeval's chunk randomization code. enabled with the G option. ok deraadt and co.People have been testing this on OpenBSD for a while now and fixing various bugs they found, and a few more may lurk. It's configurable with a new malloc.conf(5) option, as opposed to defaulting to "on." Thanks, Ted, for this checkin.
(Comments are closed)