summaryrefslogtreecommitdiffstats
path: root/lib/Plugins/KerneloopsScanner.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Handle logs with NUL chars betterMichal Schmidt2009-06-201-4/+4
| | | | | | | | | | | It is not too rare that '\0' chars appear in /var/log/messages. I saw a real-life case where kerneloops would show a popup with the same old oops after every login. It turned out that there were NUL chars in the log which prevented kerneloops from seeing its marker, so it always treated the old oops in the log as new. This patch fixes it by always going through the whole known length of the buffer (not stopping on NUL chars) and using less string-oriented functions in fill_lineinfo().
* Really limit max size of log to read to 32 MBMichal Schmidt2009-06-201-3/+3
| | | | | Because of MAX/MIN confusion, the buffer size was always at least 32 MB, instead of at most 32 MB as intended.
* new scanner, it is used by abrt's cronZdenek Prikryl2009-05-121-0/+159