This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]