27 lines
945 B
Diff
27 lines
945 B
Diff
diff -urp audit-1.6.2.orig/lib/lookup_table.c audit-1.6.2/lib/lookup_table.c
|
|
--- audit-1.6.2.orig/lib/lookup_table.c 2007-10-05 10:30:25.000000000 -0400
|
|
+++ audit-1.6.2/lib/lookup_table.c 2007-10-05 10:32:01.000000000 -0400
|
|
@@ -483,7 +483,7 @@ int audit_name_to_msg_type(const char *m
|
|
strncpy(buf, msg_type + 8, len);
|
|
errno = 0;
|
|
return strtol(buf, NULL, 10);
|
|
- } else if (isdigit(msg_type)) {
|
|
+ } else if (isdigit(*msg_type)) {
|
|
errno = 0;
|
|
return strtol(msg_type, NULL, 10);
|
|
}
|
|
diff -urp audit-1.6.2.orig/src/auditd.c audit-1.6.2/src/auditd.c
|
|
--- audit-1.6.2.orig/src/auditd.c 2007-10-05 10:31:35.000000000 -0400
|
|
+++ audit-1.6.2/src/auditd.c 2007-10-05 10:30:04.000000000 -0400
|
|
@@ -135,8 +135,8 @@ static void distribute_event(struct audi
|
|
}
|
|
|
|
/* Last chance to send...maybe the pipe is empty now. */
|
|
- if (attempt)
|
|
- dispatch_event(&rep->reply, attempt);
|
|
+// if (attempt)
|
|
+// dispatch_event(&rep->reply, attempt);
|
|
}
|
|
|
|
/*
|