Attention is currently required from: pespin. andrei.gosman@gmail.com has posted comments on this change by andrei.gosman@gmail.com. ( https://gerrit.osmocom.org/c/libosmocore/+/43574?usp=email ) Change subject: core/socket: init_osa: pass family-correct len ...................................................................... Patch Set 1: (1 comment) File src/core/socket.c: https://gerrit.osmocom.org/c/libosmocore/+/43574/comment/f6d0e720_7a3187ed?u... : PS1, Line 603: if (bind(sfd, &local->u.sa, osmo_sockaddr_size(local)) == -1) {
Context: this patch is […] Correction to my previous comment in this thread, which is wrong. The union's sockaddr_storage member does represent an AF_UNIX address: sockaddr_un is 106 bytes on Darwin against a 128 byte union, and libosmocore relies on that in osmo_sock_get_name_buf(), which reads the AF_UNIX case back through a struct sockaddr_un *. So AF_UNIX can reach this code path. That comment was an unsent draft published by accident together with my cover message. Please take the cover message on patch set 1 as my answer instead.
-- To view, visit https://gerrit.osmocom.org/c/libosmocore/+/43574?usp=email To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email Gerrit-MessageType: comment Gerrit-Project: libosmocore Gerrit-Branch: master Gerrit-Change-Id: I37cb08a6e1809d51c97e666f980d4c68f8b56933 Gerrit-Change-Number: 43574 Gerrit-PatchSet: 1 Gerrit-Owner: andrei.gosman@gmail.com <andrei.gosman@gmail.com> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: pespin <pespin@sysmocom.de> Gerrit-Attention: pespin <pespin@sysmocom.de> Gerrit-Comment-Date: Mon, 21 Sep 2026 18:49:21 +0000 Gerrit-HasComments: Yes Gerrit-Has-Labels: No Comment-In-Reply-To: pespin <pespin@sysmocom.de> Comment-In-Reply-To: andrei.gosman@gmail.com <andrei.gosman@gmail.com>