Missing calls and unchecked return values of initgroups()

2024-01-07 Thread Jeffrey
Several initgroups() return values are not checked in inetutils programs. Others simply do not call initgroups() while relinquishing privileges. I found the following occurences of these issues: * inetd, uucpd, rshd, ftpd: missing return value check * tftpd: missing call This concern was raised

[PATCH] Fixed for a few compiler warnings

2024-01-07 Thread Collin Funk
Hello, I was building inetutils from master and fixed a few simple compiler warnings. There are more shadowed local variable warnings and such caused by macro definitions. I can try to fix those in a separate patch if you'd like. From 8863b07bbb07c69fa0dfca6ca6e3d72f34b70251 Mon Sep 17 00:00:00