From e55d0db975c69f0f4c0feae78d64fc8a7196351f Mon Sep 17 00:00:00 2001 From: Paul Floyd Date: Sun, 28 Sep 2025 03:39:45 +0000 Subject: [PATCH] FreeBSD regtest: update setcred expected from arm64 Still have an unexpected extra error on amd64 --- memcheck/tests/freebsd/setcred.stderr.exp | 22 +++++++++++++++------- 1 file changed, 15 insertions(+), 7 deletions(-) diff --git a/memcheck/tests/freebsd/setcred.stderr.exp b/memcheck/tests/freebsd/setcred.stderr.exp index 629ceacf8..8766361c0 100644 --- a/memcheck/tests/freebsd/setcred.stderr.exp +++ b/memcheck/tests/freebsd/setcred.stderr.exp @@ -1,29 +1,37 @@ Syscall param setcred(wcred) points to unaddressable byte(s) at 0x........: setcred (in /...libc...) - by 0x........: main (setcred.cpp:23) + by 0x........: main (setcred.cpp:28) Address 0x........ is not stack'd, malloc'd or (recently) free'd Syscall param setcred(flags) contains uninitialised byte(s) at 0x........: setcred (in /...libc...) - by 0x........: main (setcred.cpp:26) + by 0x........: main (setcred.cpp:33) Syscall param setcred(wcred) contains uninitialised byte(s) at 0x........: setcred (in /...libc...) - by 0x........: main (setcred.cpp:26) + by 0x........: main (setcred.cpp:33) Syscall param setcred(size) contains uninitialised byte(s) at 0x........: setcred (in /...libc...) - by 0x........: main (setcred.cpp:26) + by 0x........: main (setcred.cpp:33) Syscall param setcred(wcred) points to unaddressable byte(s) at 0x........: setcred (in /...libc...) - by 0x........: main (setcred.cpp:26) + by 0x........: main (setcred.cpp:33) Address 0x........ is not stack'd, malloc'd or (recently) free'd +Syscall param setcred(flags) contains uninitialised byte(s) + at 0x........: setcred (in /...libc...) + by 0x........: main (setcred.cpp:38) + +Syscall param setcred(size) contains uninitialised byte(s) + at 0x........: setcred (in /...libc...) + by 0x........: main (setcred.cpp:43) + Syscall param setcred(wcred) points to uninitialised byte(s) at 0x........: setcred (in /...libc...) - by 0x........: main (setcred.cpp:31) + by 0x........: main (setcred.cpp:50) Address 0x........ is 0 bytes inside a block of size 48 alloc'd at 0x........: ...operator new... (vg_replace_malloc.c:...) - by 0x........: main (setcred.cpp:28) + by 0x........: main (setcred.cpp:47) -- 2.47.3