abrt / satyr

Automatic problem management with anonymous reports
GNU General Public License v2.0
19 stars 22 forks source link

lib: koops_stacktrace: Don’t parse register as module #293

Closed ernestask closed 5 years ago

ernestask commented 5 years ago

As can be seen at [1], the kernel might also spill the value of CR2 after the list of modules. This commit adds a check for it to avoid parsing a register as a module.

[1] - https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/tree/arch/x86/mm/fault.c?id=8e998fc24de47c55b47a887f6c95ab91acd4a720#n824

Related: https://bugzilla.redhat.com/show_bug.cgi?id=1518943

Signed-off-by: Ernestas Kulik ekulik@redhat.com