Text   |  XML   |  ReML   |   Visible Warnings:

Null Pointer Dereference  at master-settings.c:467

No properties have been set. | edit properties
Jump to warning location ↓ warning details...
Show Events | Options

auth_settings_verify

(/home/sate/Testcases/c/cve/dovecot-1.2.0/src/master/master-settings.c)expand/collapse
Show more  
 441  static bool auth_settings_verify(struct auth_settings *auth)
 442  {
 443          struct passwd *pw;
 444          struct auth_socket_settings *s;
 445   
 446          if ((pw = getpwnam(auth->user)) == NULL) {
 447                  i_error("Auth user doesn't exist: %s", auth->user);
 448                  return FALSE;
 449          }
 450   
 451          if (auth->parent->defaults-> == pw->pw_uid &&
 452              master_uid != pw->pw_uid) {
 453                  i_error(" %s (uid %s) must not be same as auth_user",
 454                          auth->user, dec2str(pw->pw_uid));
 455                  return FALSE;
 456          }
 457          auth->uid = pw->pw_uid;
 458          auth->gid = pw->pw_gid;
 459   
 460          if (access(t_strcut(auth->executable, ' '), X_OK) < 0) {
 461                  i_error("auth_executable: Can't use %s: %m",
 462                          t_strcut(auth->executable, ' '));
 463                  return FALSE;
 464          }
 465   
 466[+]         fix_base_path(auth->parent->defaults, &auth->chroot);
 467          if (*auth->chroot != '\0' && access(auth->chroot, X_OK) < 0) {
Show more  




Change Warning 7849.24709 : Null Pointer Dereference

Priority:
State:
Finding:
Owner:
Note: