Skip to content

Commit 71aaf24

Browse files
Fix interpretation of unknown ioctcmds
1 parent 0c6d0f5 commit 71aaf24

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

ChangeLog

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
- Make a reload legacy service for auditd
55
- In auparse python bindings, expose some new types that were missing
66
- In normalizer, pickup subject kind for user_login events
7+
- Fix interpretation of unknown ioctcmds (#1540507)
78

89
2.8.2
910
- Update tables for 4.14 kernel

auparse/interpret.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2112,7 +2112,7 @@ static const char *print_ioctl_req(const char *val)
21122112
r = ioctlreq_i2s(req);
21132113
if (r != NULL)
21142114
return strdup(r);
2115-
if (asprintf(&out, "0x%s", val) < 0)
2115+
if (asprintf(&out, "0x%x", req) < 0)
21162116
out = NULL;
21172117
return out;
21182118
}

0 commit comments

Comments
 (0)