[gofrontend] syscall: pass correct pointer to system call in recvmsgRaw

0 views
Skip to first unread message

Ian Lance Taylor (Gerrit)

unread,
Jul 8, 2025, 6:01:14 PMJul 8
to Ian Lance Taylor, goph...@pubsubhelper.golang.org, golang-...@googlegroups.com, Than McIntosh, Dmitri Shuralyov, Dmitri Shuralyov, Cherry Mui, golang-co...@googlegroups.com

Ian Lance Taylor submitted the change

Change information

Commit message:
syscall: pass correct pointer to system call in recvmsgRaw

The code in recvmsgRaw, introduced in CL 384695, 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.
Change-Id: I4c1c6b2c4836dafe8ff14275693b8fa8433b3313
Reviewed-by: Dmitri Shuralyov <dmit...@google.com>
Reviewed-by: Cherry Mui <cher...@google.com>
Reviewed-by: Than McIntosh <th...@golang.org>
Files:
  • M libgo/go/syscall/socket.go
Change size: XS
Delta: 1 file changed, 1 insertion(+), 1 deletion(-)
Branch: refs/heads/master
Submit Requirements:
  • requirement satisfiedCode-Review: +2 by Cherry Mui, +1 by Dmitri Shuralyov, +1 by Than McIntosh
Open in Gerrit
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: merged
Gerrit-Project: gofrontend
Gerrit-Branch: master
Gerrit-Change-Id: I4c1c6b2c4836dafe8ff14275693b8fa8433b3313
Gerrit-Change-Number: 685177
Gerrit-PatchSet: 2
Gerrit-Owner: Ian Lance Taylor <ia...@golang.org>
Gerrit-Reviewer: Cherry Mui <cher...@google.com>
Gerrit-Reviewer: Dmitri Shuralyov <dmit...@google.com>
Gerrit-Reviewer: Ian Lance Taylor <ia...@golang.org>
Gerrit-Reviewer: Than McIntosh <th...@golang.org>
Gerrit-CC: Dmitri Shuralyov <dmit...@golang.org>
open
diffy
satisfied_requirement
Reply all
Reply to author
Forward
0 new messages