procinfo segfaults
Bug #217624 reported by
Jussi Saarinen
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
procinfo (Debian) |
Fix Released
|
Unknown
|
|||
procinfo (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: procinfo
Running procinfo in my 64bit Hardy causes segfault
Changed in procinfo: | |
status: | Unknown → Fix Released |
To post a comment you must log in.
This is because procinfo.c limits the read of the intr line is /proc/stat to 1024 characters, but on recent systems the line is longer than this. Not enough IRQ entries are allocated and an overflow occurs.
The patch below doubles the limit and also understands PCI-MSI-edge interrupts.