Fixed a bug with the error message about external filters and setuid
This commit is contained in:
parent
b4952da4e6
commit
6033dd8ea8
@ -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;
|
new_name[0]= 0;
|
||||||
|
|
||||||
if(getuid() != geteuid()) {
|
if(getuid() != geteuid()) {
|
||||||
Xorriso_msgs_submit(xorriso, 0, xorriso->info_text, 0, "FAILURE", 0);
|
|
||||||
sprintf(xorriso->info_text,
|
sprintf(xorriso->info_text,
|
||||||
"-set_filter: UID and EUID differ. Will not run external programs.");
|
"-set_filter: UID and EUID differ. Will not run external programs.");
|
||||||
|
Xorriso_msgs_submit(xorriso, 0, xorriso->info_text, 0, "FATAL", 0);
|
||||||
return(0);
|
return(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user