mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2025-12-31 20:36:25 +00:00
Protect against NULL sym string.
This commit is contained in:
@ -825,7 +825,7 @@ lookup_kernel_symbol (gulong address)
|
|||||||
* Below we filter out the [irq stack]
|
* Below we filter out the [irq stack]
|
||||||
*/
|
*/
|
||||||
i = 0;
|
i = 0;
|
||||||
while (skip_kernel_symbols[i][0] != '\0')
|
while (sym && skip_kernel_symbols[i][0] != '\0')
|
||||||
{
|
{
|
||||||
if (strcmp (sym, skip_kernel_symbols[i]) == 0)
|
if (strcmp (sym, skip_kernel_symbols[i]) == 0)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user