audit/interpret-tty-data.patch
Cropi f725649490 Update 9.7
- ausearch: correct search for DAEMON related events
- allow hex digits when interpreting tty data
  Resolves: RHEL-82279
- Fix TTY hostname in log messages
  Resolves: RHEL-78323
2025-03-28 08:48:48 +01:00

14 lines
409 B
Diff

diff --git a/auparse/interpret.c b/auparse/interpret.c
index ad949c90f..5c182ae69 100644
--- a/auparse/interpret.c
+++ b/auparse/interpret.c
@@ -331,7 +331,7 @@ static void key_escape(const char *orig, char *dest, auparse_esc_t escape_mode)
static int is_hex_string(const char *str)
{
while (*str) {
- if (!isdigit((unsigned char)*str))
+ if (!isxdigit((unsigned char)*str))
return 0;
str++;
}