Text   |  XML   |  ReML   |   Visible Warnings:

File System Race Condition  at mbox-storage.c:145

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

mbox_is_dir

(/home/sate/Testcases/c/cve/dovecot-1.2.0/src/lib-storage/index/mbox/mbox-storage.c)expand/collapse
Show more  
 127  static bool mbox_is_dir(const char *path, const char *name, bool debug)
 128  {
 129          struct stat st;
 130   
 131          if (stat(path, &st) < 0) {
 132                  if (debug) {
 133                          i_info("mbox autodetect: %s: stat(%s) failed: %m",
 134                                 name, path);
 135                  }
 136                  return FALSE;
 137          }
 138          if (!S_ISDIR(st.st_mode)) {
 139                  if (debug) {
 140                          i_info("mbox autodetect: %s: is not a directory (%s)",
 141                                 name, path);
 142                  }
 143                  return FALSE;
 144          }
 145          if (access(path, R_OK|W_OK|X_OK) < 0) {
Show more  




Change Warning 7431.24500 : File System Race Condition

Priority:
State:
Finding:
Owner:
Note: