-
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
mod_mailscript: Fix NULL pointer dereference for outgoing filters.
The message processing callbacks for outgoing messages are run on messages for all recipients at once, rather than per recipient, so mproc.to (the envelope recipient) is actually empty in this case. As such, ensure that the recipient is non-empty before attempting to do string comparison on it.
- Loading branch information
1 parent
7388c83
commit a684d2f
Showing
2 changed files
with
9 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters