From: Vsevolod Stakhov Date: Mon, 22 Mar 2021 12:09:34 +0000 (+0000) Subject: [Minor] Fix potential null pointer dereference X-Git-Tag: 3.0~562 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a4238dce6f6315bde0c75c853c14e9e241445ef4;p=thirdparty%2Frspamd.git [Minor] Fix potential null pointer dereference --- diff --git a/src/plugins/fuzzy_check.c b/src/plugins/fuzzy_check.c index 1315c5374b..a14c4f7b93 100644 --- a/src/plugins/fuzzy_check.c +++ b/src/plugins/fuzzy_check.c @@ -2812,7 +2812,7 @@ fuzzy_controller_io_callback (gint fd, short what, void *arg) "list %s:%d, skipped by server", ftype, op, - MESSAGE_FIELD (session->task, message_id), + MESSAGE_FIELD_CHECK (session->task, message_id), (gint)sizeof (rep->digest), rep->digest, symbol, rep->v1.flag); @@ -2827,7 +2827,7 @@ fuzzy_controller_io_callback (gint fd, short what, void *arg) "list %s:%d, error: %d", ftype, op, - MESSAGE_FIELD (session->task, message_id), + MESSAGE_FIELD_CHECK (session->task, message_id), (gint)sizeof (rep->digest), rep->digest, symbol, rep->v1.flag,