diff --git a/xorriso/iso_manip.c b/xorriso/iso_manip.c index efe3da3a..20e01733 100644 --- a/xorriso/iso_manip.c +++ b/xorriso/iso_manip.c @@ -871,6 +871,13 @@ int Xorriso_graft_in(struct XorrisO *xorriso, void *boss_iter, apt= npt= path; if(!(flag & (1 | 1024))) { + if(disk_path[0] == 0) { + Xorriso_msgs_submit(xorriso, 0, "/", 0, "ERRFILE", 0); + sprintf(xorriso->info_text, + "Will not graft-in the whole local filesystem by path '/'"); + Xorriso_msgs_submit(xorriso, 0, xorriso->info_text, 0, "FAILURE", 0); + {ret= 0; goto ex;} + } ret= lstat(disk_path, &stbuf); if(ret!=-1) { if(S_ISDIR(stbuf.st_mode)) diff --git a/xorriso/xorriso_timestamp.h b/xorriso/xorriso_timestamp.h index 7f232d16..b0e3e7bc 100644 --- a/xorriso/xorriso_timestamp.h +++ b/xorriso/xorriso_timestamp.h @@ -1 +1 @@ -#define Xorriso_timestamP "2019.09.01.071701" +#define Xorriso_timestamP "2019.09.01.071948"