This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: Additional malloc hardening
- From: Florian Weimer <fweimer at redhat dot com>
- To: OndÅej BÃlka <neleai at seznam dot cz>
- Cc: GNU C Library <libc-alpha at sourceware dot org>
- Date: Tue, 23 Sep 2014 13:23:41 +0200
- Subject: Re: Additional malloc hardening
- Authentication-results: sourceware.org; auth=none
- References: <53F20559 dot 7040209 at redhat dot com> <20140919121639 dot GB2912 at domone>
On 09/19/2014 02:16 PM, OndÅej BÃlka wrote:
You do not need for detecting userspace errors. A better way is to add a
checksum that will detect corruption. Even if it takes one byte with
randomization it could detect error 50% of time after ten errors its
1/1024 chance.
Do you propose to fit this into the existing size field?
--
Florian Weimer / Red Hat Product Security