]> git.ipfire.org Git - thirdparty/glibc.git/commit
nss: Group merge does not react to ERANGE during merge (bug 33361)
authorFlorian Weimer <fweimer@redhat.com>
Fri, 12 Sep 2025 19:33:34 +0000 (21:33 +0200)
committerFlorian Weimer <fweimer@redhat.com>
Fri, 12 Sep 2025 19:33:34 +0000 (21:33 +0200)
commit0fceed254559836b57ee05188deac649bc505d05
tree3037a34fc6c732d75af78539635e6c86ac92bddf
parentcae3c9e3a117fd240fbf5fd4b403ef4e5304c4a6
nss: Group merge does not react to ERANGE during merge (bug 33361)

The break statement in CHECK_MERGE is expected to exit the surrounding
while loop, not the do-while loop with in the macro.  Remove the
do-while loop from the macro.  It is not needed to turn the macro
expansion into a single statement due to the way CHECK_MERGE is used
(and the statement expression would cover this anyway).

Reviewed-by: Collin Funk <collin.funk1@gmail.com>
nss/getXXbyYY_r.c