mirror of
https://github.com/sudo-project/sudo.git
synced 2025-08-31 14:25:15 +00:00
Log an error for invalid boolean strings.
This commit is contained in:
@@ -70,5 +70,8 @@ sudo_strtobool_v1(const char *str)
|
||||
debug_return_int(0);
|
||||
break;
|
||||
}
|
||||
sudo_debug_printf(SUDO_DEBUG_ERROR|SUDO_DEBUG_LINENO,
|
||||
"invalid boolean value \"%s\"", str);
|
||||
|
||||
debug_return_int(-1);
|
||||
}
|
||||
|
Reference in New Issue
Block a user