]> source.dussan.org Git - rspamd.git/commit
[Minor] Segfault for some configuration. 3292/head
authorThierry Fournier <thierry.fournier@ozon.io>
Sat, 7 Mar 2020 13:48:31 +0000 (14:48 +0100)
committerThierry Fournier <thierry.fournier@ozon.io>
Tue, 10 Mar 2020 16:24:47 +0000 (17:24 +0100)
commita13343134a29943f90f849018aab9801b14edc82
tree920dec2babdec4981513076a9ed83d4b1d8ced1d
parent35179d94a8af87c5b86e45d0bd1ba9a276d34844
[Minor] Segfault for some configuration.

When the configuration file contains only these two lines, rspamd
try to send log which announce that it can bind the soket, but
"bind_conf" is NULL and it is dereferenced, so we have a segfault.

   worker "normal" {
   }

This patch fix the segfault.
src/rspamd.c