[SPARC64]: check for possible NULL pointer dereference