Package: cfengine2
Version: 2.2.5-1
Severity: normal

There's a segfault in Debian sid's cfengine2 2.2.5-1, you cannot see it because the segfault information is on console screen, not the one running cfagent. I dump the core, use gdb to debug it, and find this:
The line 700-707 of popen.c:
/* Now eliminate any residual privileged groups */

if ((pw = getpwuid(uid)) == NULL)
   {
snprintf(OUTPUT,CF_BUFSIZE,"Unable to get login groups when dropping privile\
ge to %s=%d",pw->pw_name,uid);
   CfLog(cferror,OUTPUT,"initgroups");
   return false;
   }
If pw == NULL, pw->pw_name will cause a segfault. Since I don't know author's idea at here, cannot fix it. SO just leave this to upstream.

Regards,
Chun Tian (binghe)




--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to