]> source.dussan.org Git - rspamd.git/commit
[CritFix] Fix issue with expressions processing
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Tue, 12 Apr 2016 10:56:49 +0000 (11:56 +0100)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Tue, 12 Apr 2016 10:56:49 +0000 (11:56 +0100)
commit5134580d74d1249470935b809528d281feaddf84
tree3c8414f878c7cf39229ac063062a296934599e52
parentb79037baae40fec378c98d9e89c11798adf5691f
[CritFix] Fix issue with expressions processing

If the first rule in A + B + C + D > X matched then it was counted like
`1 + 1` and not as `0 + 1` as the accumulator was incorrectly treated in
that case.
src/libutil/expression.c