Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

otel-dest: fix crash when message contains GSockAddrUnix #328

Merged
merged 2 commits into from
Oct 7, 2024

Conversation

MrAnno
Copy link
Member

@MrAnno MrAnno commented Oct 7, 2024

Messages originated from unix-stream or unix-dgram sockets made axosyslog-otlp() crash.

Since it is unnecessary to forward local unix-based addresses, the fix is to skip non-inet addresses (instead of extending the implementation of g_sockaddr_get_address()).

@MrAnno MrAnno marked this pull request as draft October 7, 2024 13:22
MrAnno added 2 commits October 7, 2024 18:09
Messages originated from unix-stream or unix-dgram sockets made
axosyslog-otlp() crash.

Since it is unnecessary to forward local unix-based addresses,
the fix is to skip non-inet addresses (instead of extending the
implementation of g_sockaddr_get_address()).

Signed-off-by: László Várady <[email protected]>
@MrAnno MrAnno force-pushed the axosyslog-otlp-fix-addr branch from 3e42614 to 21df5a1 Compare October 7, 2024 16:09
@MrAnno MrAnno marked this pull request as ready for review October 7, 2024 16:10
@alltilla alltilla merged commit 5669801 into axoflow:main Oct 7, 2024
22 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants