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:
1 parent
fa6da6a0fa
commit
22d1fb47ac
1 file changed
+1
-1
Reference in new issue
Block a user