aarch64-sigsegv.patch 277 B
--- a/procinterrupts.c
+++ b/procinterrupts.c
@@ -178,7 +178,7 @@
}
#ifdef AARCH64
- if (strlen(savedptr) > 0) {
+ if (savedptr && strlen(savedptr) > 0) {
snprintf(irq_fullname, PATH_MAX, "%s %s", last_token, savedptr);
tmp = strchr(irq_fullname, '\n');
if (tmp)