libgo patch committed: Pass correct pointer to system call in recvmsgRaw

3 views
Skip to first unread message

Ian Lance Taylor

unread,
Jul 8, 2025, 6:02:37 PMJul 8
to gcc-patches, gofrontend-dev
This libgo patch passe the correct pointer to the system call in
recvmsgRaw. The code in recvmsgRaw, introduced in CL 384695
(https://gcc.gnu.org/pipermail/gcc-patches/2022-February/590289.html),
incorrectly passed &rsa to the recvmsg system call. But in recvmsgRaw
rsa is already a pointer passed by the caller. This change passes the
correct pointer.

I'm guessing that this didn't show up in the testsuite because we run
the tests in short mode.

Bootstrapped and ran Go testsuite on x86_64-pc-linux-gnu. Committed to mainline.

Ian
patch.txt
Reply all
Reply to author
Forward
0 new messages