commit e539b43: Merge pull request #4887 from rspamd/vstakhov-regexp-fix

GitHub noreply at github.com
Mon Jul 29 17:54:47 UTC 2024


Author: Vsevolod Stakhov
Date: 2024-03-24 22:22:56 +0600
URL: https://github.com/rspamd/rspamd/commit/e539b43bdb23c47aacb36eb90c055a8e2c2e6f62

Merge pull request #4887 from rspamd/vstakhov-regexp-fix
Protect regexp matcher from regexps with empty patterns

 src/libserver/re_cache.c   |  5 +++++
 src/libutil/multipattern.c |  4 ++++
 src/libutil/regexp.c       | 16 +++++-----------
 src/lua/lua_regexp.c       |  7 ++++++-
 test/lua/unit/url.lua      | 11 +++++++++++
 5 files changed, 31 insertions(+), 12 deletions(-)


More information about the Commits mailing list