Changeset 3d98a68


Ignore:
Timestamp:
02/27/14 16:28:53 (9 months ago)
Author:
Kris Moore <kris@…>
Branches:
master, releng/10.0.1, releng/10.0.2, releng/10.0.3, releng/10.1
Children:
1fa5bc4
Parents:
14b47f0
Message:

Add a fix to prevent resursive listings of the fuse mounted directories

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src-sh/pbi-manager/pbifs/main.c

    r6330d7c r3d98a68  
    280280        char newpath[MAXPATHLEN]; 
    281281        get_modified_path(newpath, path); 
     282 
     283        // Avoid a recursive directory tree 
     284        if ( strpos(newpath, "/usr/pbi/.mounts") == 0) 
     285           return 0; 
    282286 
    283287        DIR *openDir = opendir(newpath); 
Note: See TracChangeset for help on using the changeset viewer.