irmap: don't try to dereference a null pointer
irmap_revalidate() sets a cursor to the next element or null, then we try to dereference cursor->next in the for statemant. Signed-off-by:Andrew Vagin <avagin@virtuozzo.com> Signed-off-by:
Pavel Emelyanov <xemul@virtuozzo.com>
Showing
Please
register
or
sign in
to comment