This is the mail archive of the libc-hacker@sources.redhat.com mailing list for the glibc project.

Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.


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: [PATCH] Fix read etc. with -D_FORTIFY_SOURCE=2


> read/pread/pread64/recv/recvfrom do not read operate with strings, but
> arbitrary data.  Therefore it is inappropriate to use
> __builtin_object_size (, 1) for them, they should behave like
> memcpy/memset and other memory operations rather than strcpy/fgets etc.

Quite right.  I put the change in.


Thanks,
Roland


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