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] |
On 01/05/2016 03:09 AM, Florian Weimer wrote:
For example, I don't expect read (fd, ptr, SSIZE_MAX) to succeed as long as the actual number of bytes read is sufficiently small (and it fails with EFAULT on Linux).
I agree with your expectation. Any program playing that sort of game is a security problem waiting to happen, and GNU/Linux is doing the right thing here.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |