send_str() will segfault if passed NULL pointer #69
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Description
In line 140-141, calls without checking for NULL:
While no current callers pass NULL, this is a latent crash bug. The function should check for NULL and return false.
Similarly, (line 191) and (line 166) pass pointers through to without intermediate NULL checks where applicable.
Location
Suggested Fix
Add a NULL check at the top of :
Severity
Low
Category
Bug