diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2021-07-07 10:37:32 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2021-07-07 10:37:32 +0100 |
commit | c1ae8529075e7b9d6b22daca27b9017839fdd755 (patch) | |
tree | 5caab4f678c1427c159b9660b002ef23e38d5ab1 /test | |
parent | e6dc2391ad809c7b7ff0d154c35272602314bf8b (diff) | |
download | rspamd-c1ae8529075e7b9d6b22daca27b9017839fdd755.tar.gz rspamd-c1ae8529075e7b9d6b22daca27b9017839fdd755.zip |
[Minor] Do not try to modify constant memory
Diffstat (limited to 'test')
-rw-r--r-- | test/rspamd_cxx_unit_utils.hxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/rspamd_cxx_unit_utils.hxx b/test/rspamd_cxx_unit_utils.hxx index 0cd229a4f..00b5e1b61 100644 --- a/test/rspamd_cxx_unit_utils.hxx +++ b/test/rspamd_cxx_unit_utils.hxx @@ -39,6 +39,7 @@ TEST_CASE("rspamd_strip_smtp_comments_inplace") { {"ab(olo\\)lo)c(foo)", "abc"}, {"ab(trol\\\1lo)c(foo)", "abc"}, {"\\ab(trol\\\1lo)c(foo)", "abc"}, + {"", ""}, }; for (const auto &c : cases) { |