Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F177848595
D61884.1795424655.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Authored By
Unknown
Size
396 B
Referenced Files
None
Subscribers
None
D61884.1795424655.diff
View Options
diff --git a/sys/powerpc/powerpc/trap.c b/sys/powerpc/powerpc/trap.c
--- a/sys/powerpc/powerpc/trap.c
+++ b/sys/powerpc/powerpc/trap.c
@@ -731,7 +731,7 @@
if (SV_PROC_FLAG(p, SV_ILP32) && narg > n) {
/* Expand the size of arguments copied from the stack */
- for (i = narg; i >= n; i--)
+ for (i = narg - 1; i >= n; i--)
sa->args[i] = ((uint32_t *)(&sa->args[n]))[i-n];
}
#endif
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Nov 23, 9:04 AM (6 h, 50 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
41912841
Default Alt Text
D61884.1795424655.diff (396 B)
Attached To
Mode
D61884: powerpc: fix an off-by-one when widening 32-bit syscall arguments
Attached
Detach File
Event Timeline