Skip to content

Auto-port 5.0: Fix implementation of strerror_r_xsi for GNU#16562

Merged
normanmaurer merged 1 commit into
5.0from
auto-port-pr-16546-to-5.0
Mar 30, 2026
Merged

Auto-port 5.0: Fix implementation of strerror_r_xsi for GNU#16562
normanmaurer merged 1 commit into
5.0from
auto-port-pr-16546-to-5.0

Conversation

@netty-project-bot

Copy link
Copy Markdown
Contributor

Auto-port of #16546 to 5.0
Cherry-picked commit: 1fda0d5


Motivation:

We did not clear errno before calling strerror_r(...) and then later use it to detect if there was an error. This could lead to false-positives as strerror_r(...) does not set errno to 0 on success.

Modifications:

Set errno to 0 before calling strerror_r

Result:

Correct implement strerror_r_xsi for GNU

Motivation:

We did not clear errno before calling strerror_r(...) and then later use
it to detect if there was an error. This could lead to false-positives
as strerror_r(...) does not set errno to 0 on success.

Modifications:

Set errno to 0 before calling strerror_r

Result:

Correct implement strerror_r_xsi for GNU

(cherry picked from commit 1fda0d5)
@chrisvest chrisvest added this to the 5.0.0.Final milestone Mar 26, 2026
@normanmaurer normanmaurer enabled auto-merge (squash) March 30, 2026 11:06
@normanmaurer normanmaurer disabled auto-merge March 30, 2026 16:33
@normanmaurer normanmaurer enabled auto-merge (squash) March 30, 2026 16:34
@normanmaurer normanmaurer disabled auto-merge March 30, 2026 16:35
@normanmaurer normanmaurer merged commit e78459d into 5.0 Mar 30, 2026
7 of 13 checks passed
@normanmaurer normanmaurer deleted the auto-port-pr-16546-to-5.0 branch March 30, 2026 16:36
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.

3 participants