Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F163337414
D43104.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
588 B
Referenced Files
None
Subscribers
None
D43104.diff
View Options
diff --git a/sys/i386/linux/linux_sysvec.c b/sys/i386/linux/linux_sysvec.c
--- a/sys/i386/linux/linux_sysvec.c
+++ b/sys/i386/linux/linux_sysvec.c
@@ -126,11 +126,14 @@
argv = base;
envp = base + (imgp->args->argc + 1);
base--;
- suword(base, (intptr_t)envp);
+ if (suword(base, (intptr_t)envp) != 0)
+ return (EFAULT);
base--;
- suword(base, (intptr_t)argv);
+ if (suword(base, (intptr_t)argv) != 0)
+ return (EFAULT);
base--;
- suword(base, imgp->args->argc);
+ if (suword(base, imgp->args->argc) != 0)
+ return (EFAULT);
*stack_base = (uintptr_t)base;
return (0);
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Jul 23, 6:23 AM (6 h, 39 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
35394288
Default Alt Text
D43104.diff (588 B)
Attached To
Mode
D43104: linux: Check for copyout errors in linux_fixup()
Attached
Detach File
Event Timeline
Log In to Comment