35 lines
1020 B
Diff
35 lines
1020 B
Diff
|
---
|
||
|
auparse/auparse.c | 2 +-
|
||
|
src/ausearch-lol.c | 2 +-
|
||
|
2 files changed, 2 insertions(+), 2 deletions(-)
|
||
|
|
||
|
diff --git a/auparse/auparse.c b/auparse/auparse.c
|
||
|
index cc7ba5c..75ad8e7 100644
|
||
|
--- a/auparse/auparse.c
|
||
|
+++ b/auparse/auparse.c
|
||
|
@@ -1202,7 +1202,7 @@ static int extract_timestamp(const char *b, au_event_t *e)
|
||
|
// at this point we have type=
|
||
|
ptr = audit_strsplit(NULL);
|
||
|
// strlen is for fuzzers that make invalid lines
|
||
|
- if (ptr && strnlen(ptr, 28) > 24) {
|
||
|
+ if (ptr && strnlen(ptr, 20) > 18) {
|
||
|
if (*(ptr+9) == '(')
|
||
|
ptr+=9;
|
||
|
else
|
||
|
diff --git a/src/ausearch-lol.c b/src/ausearch-lol.c
|
||
|
index bb596a2..4a7e5fd 100644
|
||
|
--- a/src/ausearch-lol.c
|
||
|
+++ b/src/ausearch-lol.c
|
||
|
@@ -194,7 +194,7 @@ static int extract_timestamp(const char *b, event *e)
|
||
|
// Now should be pointing to msg=
|
||
|
ptr = audit_strsplit(NULL);
|
||
|
// strlen is for fuzzers that make invalid lines
|
||
|
- if (ptr && strlen(ptr) > 24) {
|
||
|
+ if (ptr && strnlen(ptr, 20) > 18) {
|
||
|
if (*(ptr+9) == '(')
|
||
|
ptr+=9;
|
||
|
else
|
||
|
--
|
||
|
2.31.1
|
||
|
|