[patch] Fix BZ 19165 -- overflow in fread / fwrite

Florian Weimer fweimer@redhat.com
Mon Dec 7 19:14:00 GMT 2015


On 12/07/2015 06:21 PM, Paul Pluzhnikov wrote:
> diff --git a/misc/sys/cdefs.h b/misc/sys/cdefs.h
> index 99e94cc..4474f09 100644
> --- a/misc/sys/cdefs.h
> +++ b/misc/sys/cdefs.h

I think it's better for now not to put this into an installed header
file.  include/stdlib.h  comes to my mind as a candidate location.

Then you can use _Static_assert and don't have to worry about including
<stddef.h>.

Florian



More information about the Libc-alpha mailing list