Changeset 300
- Timestamp:
- Apr 23, 2007, 4:19:41 AM (19 years ago)
- File:
- 
          - 1 edited
 
 - 
          server/common/patches/httpd-suexec-scripts.patch (modified) (1 diff)
 
Legend:
- Unmodified
- Added
- Removed
- 
        server/common/patches/httpd-suexec-scripts.patchr298 r300 151 151 + char *expected = malloc(expected_len); 152 152 + snprintf(expected, expected_len, "%s/%s", target_homedir, AP_USERDIR_SUFFIX); 153 + if (strncmp(cwd, expected, expected_len ) != 0) {153 + if (strncmp(cwd, expected, expected_len-1) != 0) { 154 154 + log_err("error: file's directory not a subdirectory of user's home directory (%s, %s)\n", cwd, expected); 155 155 + exit(114); 
Note: See TracChangeset
          for help on using the changeset viewer.
      
