GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Fix Socket reading of abstract unix domain addresses by normanmaurer · Pull Request #16010 · netty/netty

Conversation

@normanmaurer

@normanmaurer normanmaurer commented Dec 10, 2025

Copy link
Copy Markdown
Member

Motivation:

How we calculated the length of the unix domain socket address was not correct.

Motification:

Follow the manpage in how the length is calculated

Result:

Always return the correct name for abstract unix domain sockets

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@normanmaurer
Fix Socket reading of abstract unix domain addresses
2aef85a
Motivation:

How we calculated the length of the unix domain socket address was not correct.

Motification:

Follow the manpage in how the length is calculated

Result:

Always return the correct name for abstract unix domain sockets
@normanmaurer
normanmaurer requested a review from chrisvest December 10, 2025 21:22
normanmaurer added 2 commits December 10, 2025 21:47
@normanmaurer
Extract to helper function to reduce duplication
3ce4486
@normanmaurer
Add more asserts
c3a25c1
chrisvest
chrisvest requested changes Dec 10, 2025
View reviewed changes

@chrisvest chrisvest left a comment

Copy link
Copy Markdown
Member

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Spotted a bug

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread transport-native-unix-common/src/main/c/netty_unix_socket.c Resolved

Uh oh!

There was an error while loading. Please reload this page.

chrisvest added 2 commits December 10, 2025 15:40
@chrisvest
Avoid having a codepath where we don't return any domain socket path …
d2a5b7e
…length.
@chrisvest
Avoid negative array size on abstract domain path
61abc4a
Abstract domain socket paths are always at least sized
sizeof(sa_family_t) or greater.
chrisvest
chrisvest approved these changes Dec 11, 2025
View reviewed changes
@normanmaurer normanmaurer modified the milestones: 5.0.0.Final, 4.2.8.Final Dec 11, 2025
@normanmaurer
normanmaurer merged commit caa07bb into 4.2 Dec 11, 2025
@normanmaurer
normanmaurer deleted the uds_abstract branch December 11, 2025 03:59
normanmaurer added a commit that referenced this pull request Dec 11, 2025
@normanmaurer @chrisvest
Fix Socket reading of abstract unix domain addresses (#16010)
4d04f90
Motivation:

How we calculated the length of the unix domain socket address was not
correct.

Motification:

Follow the manpage in how the length is calculated

Result:

Always return the correct name for abstract unix domain sockets

---------

Co-authored-by: Chris Vest <[email protected]>
normanmaurer added a commit that referenced this pull request Dec 11, 2025
@normanmaurer @chrisvest
Fix Socket reading of abstract unix domain addresses (#16010)
2fa45bf
Motivation:

How we calculated the length of the unix domain socket address was not
correct.

Motification:

Follow the manpage in how the length is calculated

Result:

Always return the correct name for abstract unix domain sockets

---------

Co-authored-by: Chris Vest <[email protected]>
normanmaurer added a commit that referenced this pull request Dec 11, 2025
@normanmaurer @chrisvest
Fix Socket reading of abstract unix domain addresses (#16010) (#16012)
9896970
Motivation:

How we calculated the length of the unix domain socket address was not
correct.

Motification:

Follow the manpage in how the length is calculated

Result:

Always return the correct name for abstract unix domain sockets

Co-authored-by: Chris Vest <[email protected]>
normanmaurer added a commit that referenced this pull request Dec 11, 2025
@normanmaurer @chrisvest
Fix Socket reading of abstract unix domain addresses (#16010) (#16013)
3e83789
Motivation:

How we calculated the length of the unix domain socket address was not
correct.

Motification:

Follow the manpage in how the length is calculated

Result:

Always return the correct name for abstract unix domain sockets

---------

Co-authored-by: Chris Vest <[email protected]>
@normanmaurer normanmaurer mentioned this pull request Sep 22, 2026
suspend race fix #17588
Closed
@normanmaurer normanmaurer mentioned this pull request Oct 1, 2026
child5 #17695
Closed
This was referenced Oct 20, 2026
fix iouring zerocopy iov overwrite #17936
Closed
crisp nova cceda091 #18109
Closed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@chrisvest chrisvest chrisvest approved these changes

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

4.2.8.Final

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

2 participants

@normanmaurer @chrisvest
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.