Version: 0.3.18
* Simplified arch-dependent stuff
* Updated list of syscalls and signals to Linux 2.4.18
* Unified coding-style of all function declarations
* Do not indent lines indicating signals, exit codes, etc
* Updated description
* fix off-by-one problem in checking syscall number (Tim Waugh
<twaugh@redhat.com> fixed this problem in RedHat two years ago;
thank you for NOT noticing me...)
diff --git a/process_event.c b/process_event.c
index 0f0fac4..fb9792a 100644
--- a/process_event.c
+++ b/process_event.c
@@ -83,7 +83,7 @@
};
int nsignals0 = sizeof signalent0 / sizeof signalent0[0];
- if (signum<0 || signum>nsignals0) {
+ if (signum<0 || signum>=nsignals0) {
return "UNKNOWN_SIGNAL";
} else {
return signalent0[signum];