Disabled internal link traversal of libburn.

This commit is contained in:
Lorenzo Taylor 2006-09-26 20:37:41 +00:00
parent 0ee5e11a8f
commit 2d2495db29
1 changed files with 2 additions and 2 deletions

View File

@ -885,8 +885,8 @@ int burn_drive_convert_fs_adr(char *path, char adr[])
return 1;
}
if(lstat(path, &stbuf) == -1) {
burn_drive_adr_debug_msg("lstat( %s ) returns -1", path);
if(stat(path, &stbuf) == -1) {
burn_drive_adr_debug_msg("stat( %s ) returns -1", path);
return 0;
}
if((stbuf.st_mode & S_IFMT) == S_IFLNK) {