duosecurity / duo_unix

Duo two-factor authentication for Unix systems
http://www.duosecurity.com
349 stars 136 forks source link

Simplified the logic for detecting the number of groups #291

Closed ysyrota closed 1 month ago

ysyrota commented 1 month ago

Summary of the change

Simplified the logic for detecting the number of groups to address issues flagged by Coverity Scan.

Test Plan

Ran the test suite to confirm that no existing functionality is affected by the changes.