Remove null pointer dereference
This if is only true if both strchr return NULL, making sure that *q is a NULL dereference. The intention was to remove trailing '>' (or '\t') from the message-id (p) for add_news_message(). Adjust the condition.
This commit is contained in:
Reference in New Issue
Block a user