[Bug libc/23951] pread64(fd, buf, (size_t)-1, offset) do not works as expected, using 32bit glibc-2.27 under 64bit-linux-4.4
wangfangpeng1 at huawei dot com
sourceware-bugzilla@sourceware.org
Wed Dec 5 07:15:00 GMT 2018
https://sourceware.org/bugzilla/show_bug.cgi?id=23951
--- Comment #4 from wangfangpeng <wangfangpeng1 at huawei dot com> ---
(In reply to Andreas Schwab from comment #2)
> I don't think there is a bug here, as in both cases we pass the arguments
> unchanged to the kernel, and return what the kernel reports:
>
> pread64(0, "", 4294967295, 0) = 0
>
> pread64(0, 0x7ffdd658d2d0, 18446744073709551615, 0) = -1 EFAULT (Bad address)
You mean this is a kernel bug,not a glibc bug?
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Glibc-bugs
mailing list