Package: cron
Version: 3.0pl1-104
Version: 3.0pl1-83
X-Debbug-Cc: [EMAIL PROTECTED], [EMAIL PROTECTED]

../do_command.c:338: warning: `scontext' is used uninitialized in this function

This is present in the initial patch in revision 83.  I think the
fprintf should use u->scontext instead of scontext (and probably
should call log_it() instead).

|  333  #ifdef WITH_SELINUX
|  334                          if ((is_selinux_enabled() > 0) && (u->scontext 
!= 0L)) {
|  335                              security_context_t scontext;
|  336                              if (setexeccon(u->scontext) < 0) {
|  337                                  if (security_getenforce() > 0) {
|  338                                      fprintf(stderr, "Could not set exec 
context to %s for user  %s\n", scontext,u->name);
|  339                                      _exit(ERROR_EXIT);
|  340                                  }
|  341                              }
|  342                          }
|  343  #endif



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

Reply via email to