Skip to content

[autobackport: sssd-2-13] resolv: Fix incorrect variable used in ares_parse_txt_reply() error c…#8793

Merged
alexey-tikhonov merged 1 commit into
SSSD:sssd-2-13from
sssd-bot:SSSD-sssd-backport-pr8791-to-sssd-2-13
Jun 9, 2026
Merged

[autobackport: sssd-2-13] resolv: Fix incorrect variable used in ares_parse_txt_reply() error c…#8793
alexey-tikhonov merged 1 commit into
SSSD:sssd-2-13from
sssd-bot:SSSD-sssd-backport-pr8791-to-sssd-2-13

Conversation

@sssd-bot

@sssd-bot sssd-bot commented Jun 9, 2026

Copy link
Copy Markdown
Contributor

This is an automatic backport of PR#8791 resolv: Fix incorrect variable used in ares_parse_txt_reply() error c… to branch sssd-2-13, created by @kkzhsh.

Please make sure this backport is correct.

Note

The commits were cherry-picked without conflicts.

You can push changes to this pull request

git remote add sssd-bot [email protected]:sssd-bot/sssd.git
git fetch sssd-bot refs/heads/SSSD-sssd-backport-pr8791-to-sssd-2-13
git checkout SSSD-sssd-backport-pr8791-to-sssd-2-13
git push sssd-bot SSSD-sssd-backport-pr8791-to-sssd-2-13 --force

Original commits
4a800e5 - resolv: Fix incorrect variable used in ares_parse_txt_reply() error check

Backported commits

  • d6025d8 - resolv: Fix incorrect variable used in ares_parse_txt_reply() error check

Original Pull Request Body

In src/resolv/async_resolv.c, the error handling for ares_parse_txt_reply() checks the wrong variable. After calling ares_parse_txt_reply(), the result is stored in ret, but the code incorrectly checks status
(a previously used variable) instead.

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Code Review

This pull request corrects a bug in resolv_gettxt_done where the code incorrectly checked the status variable instead of the return value ret from ares_parse_txt_reply. There are no review comments, and I have no additional feedback to provide.

Important

The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.

@alexey-tikhonov
alexey-tikhonov removed the request for review from aplopez June 9, 2026 11:14
@alexey-tikhonov alexey-tikhonov added no-backport This should go to target branch only. Accepted labels Jun 9, 2026
…heck

Reviewed-by: Alexey Tikhonov <[email protected]>
Reviewed-by: Alejandro López <[email protected]>
(cherry picked from commit 4a800e5)
@sssd-bot

sssd-bot commented Jun 9, 2026

Copy link
Copy Markdown
Contributor Author

The pull request was accepted by @alexey-tikhonov with the following PR CI status:


🟢 rpm-build:centos-stream-10-x86_64:upstream (success)
🟢 rpm-build:fedora-43-x86_64:upstream (success)
🟢 rpm-build:fedora-44-x86_64:upstream (success)
🟢 rpm-build:fedora-rawhide-x86_64:upstream (success)
🟢 testing-farm:fedora-43-x86_64:upstream (success)
🟢 testing-farm:fedora-44-x86_64:centos-stream-10 (success)
🟢 testing-farm:fedora-44-x86_64:upstream (success)
🔴 testing-farm:fedora-rawhide-x86_64:upstream (failure)
🟢 Build / freebsd (success)
🟢 Build / make-distcheck (success)


There are unsuccessful or unfinished checks. Make sure that the failures are not related to this pull request before merging.

@sssd-bot
sssd-bot force-pushed the SSSD-sssd-backport-pr8791-to-sssd-2-13 branch from d6025d8 to fc8a802 Compare June 9, 2026 11:29
@alexey-tikhonov
alexey-tikhonov merged commit cb1bded into SSSD:sssd-2-13 Jun 9, 2026
5 of 11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Accepted no-backport This should go to target branch only.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants