Check for valid pointer
p4#: 21235