Check for NULL before dereferencing a pointer
l is part of the exit condition of the while loop. If we exit the loop because l is NULL, we cannot dereference it.
This commit is contained in:
Reference in New Issue
Block a user
l is part of the exit condition of the while loop. If we exit the loop because l is NULL, we cannot dereference it.