Skip to content

qual: fix cppcheck notice(s) - #1195

Closed
mdeweerd wants to merge 1 commit into
RsyncProject:masterfrom
mdeweerd:qual/cppcheck-notices
Closed

mdeweerd wants to merge 1 commit into
RsyncProject:masterfrom
mdeweerd:qual/cppcheck-notices

Conversation

@mdeweerd

Copy link
Copy Markdown
Contributor

Fix an obvious cppcheck notice in getgroups.c.

@steadytao

Copy link
Copy Markdown
Member

getgroups() writes into list -- Making the buffer const causes a strict build to fail at both getgroups() and free()

@steadytao steadytao closed this Nov 22, 2026
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