Fixed a bug with the error message about external filters and setuid
This commit is contained in:
parent
ba7985f18a
commit
97131421a0
@ -1 +1 @@
|
||||
#define Xorriso_timestamP "2009.04.03.172034"
|
||||
#define Xorriso_timestamP "2009.04.04.082636"
|
||||
|
@ -9798,9 +9798,9 @@ int Xorriso_set_filter(struct XorrisO *xorriso, void *in_node,
|
||||
new_name[0]= 0;
|
||||
|
||||
if(getuid() != geteuid()) {
|
||||
Xorriso_msgs_submit(xorriso, 0, xorriso->info_text, 0, "FAILURE", 0);
|
||||
sprintf(xorriso->info_text,
|
||||
"-set_filter: UID and EUID differ. Will not run external programs.");
|
||||
Xorriso_msgs_submit(xorriso, 0, xorriso->info_text, 0, "FATAL", 0);
|
||||
return(0);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user