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


> 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.

_FORTIFY_SOURCE changes function behaviors globally. But somebody
want to avoid extra length check in fast path. Annex K makes a choice to
application developers. It not so bad. However, I know the benefit is not
much rather than code size. so this may be debatable.


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