This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [RFC][PATCH] Initial support for C11 Annex K Bounds checking functions
- From: Florian Weimer <fweimer at redhat dot com>
- To: libc-alpha at sourceware dot org
- Date: Tue, 02 Apr 2013 13:01:55 +0200
- Subject: Re: [RFC][PATCH] Initial support for C11 Annex K Bounds checking functions
- References: <5102DBFD dot 4060103 at sba-research dot org>
On 01/25/2013 08:24 PM, Ulrich Bayer wrote:
This patch only adds the basic infrastructure for supporting the C11 Annex K
bounds-checking interfaces in glibc and provides an implementation of a couple
of _s functions.
We need to decide if we want to check the explicit lengths against the
compiler-inferred lengths in _FORTIFY_SOURCE mode.
Errors in length calculations are sufficiently common that I think
performing the additional check makes sense, but there might be other
opinions.
--
Florian Weimer / Red Hat Product Security Team