Displaying 1 result from an estimated 1 matches for "e513188".
2019 Feb 02
2
[PATCH 1/2] ia64: Fix invalid memory access in vfork
...though the code appears to have been dubious anyway,
assuming the address of errno was the first thing pointed to by GP.
---
usr/klibc/arch/ia64/vfork.S | 6 +-----
1 file changed, 1 insertion(+), 5 deletions(-)
diff --git a/usr/klibc/arch/ia64/vfork.S b/usr/klibc/arch/ia64/vfork.S
index 7e76a71..e513188 100644
--- a/usr/klibc/arch/ia64/vfork.S
+++ b/usr/klibc/arch/ia64/vfork.S
@@ -26,16 +26,12 @@ vfork:
mov r15=__NR_clone
mov out0=CLONE_VM|CLONE_VFORK|SIGCHLD
mov out1=0
- ;;
break 0x100000 // Do the syscall
- ;;
- addl r15=0,r1
cmp.eq p7,p6 = -1,r10
;;
- ld8 r14=[r15]
+(p7) m...