Files
TAKANO Mitsuhiro fadeabfa77 linux-user: report EFAULT for a NULL sysinfo/getitimer buffer
Both handlers skip the copy-out when the guest pointer is zero and return
success, so a caller that forgets the buffer gets an uninitialised result
instead of the EFAULT the kernel reports for a NULL address.

Copy unconditionally: a NULL pointer then fails in lock_user_struct() and
in copy_to_user_timeval() like any other unusable address.

Signed-off-by: TAKANO Mitsuhiro <takano32@gmail.com>
Signed-off-by: Helge Deller <deller@gmx.de>
2026-11-05 23:43:50 +01:00
..
2026-04-28 22:16:51 +02:00
2026-11-03 14:31:24 +01:00
2026-02-09 20:51:52 +01:00
…