[RFC][PATCH] Initial support for C11 Annex K Bounds checking functions

Florian Weimer fweimer@redhat.com
Tue Apr 2 11:02:00 GMT 2013


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



More information about the Libc-alpha mailing list