mirror of
https://github.com/Zenithsiz/ftmemsim-valgrind.git
synced 2026-02-13 14:42:03 +00:00
Make sure ptr is safe_to_deref if not NULL. Also fixup some corner case error return codes. We have to do that ourselves since we never actually call into the kernel. Found by LTP testcases/kernel/syscalls/modify_ldt/modify_ldt01. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15995
70 KiB
70 KiB