aboutsummaryrefslogtreecommitdiffstats
path: root/src/libserver/css/css_parser.cxx
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2021-05-10 20:32:12 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2021-05-10 20:32:12 +0100
commit6d6bd488d30014ff95b5e4714142637768c87241 (patch)
treee520b5415596c5a484d19e52a65c61d02204a2ae /src/libserver/css/css_parser.cxx
parent149ae7ca1c7c7b59f649804d3a1245d0a96edf18 (diff)
downloadrspamd-6d6bd488d30014ff95b5e4714142637768c87241.tar.gz
rspamd-6d6bd488d30014ff95b5e4714142637768c87241.zip
[Minor] Css: Fix OOB reading
Diffstat (limited to 'src/libserver/css/css_parser.cxx')
-rw-r--r--src/libserver/css/css_parser.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libserver/css/css_parser.cxx b/src/libserver/css/css_parser.cxx
index 2af484043..9f93a7e25 100644
--- a/src/libserver/css/css_parser.cxx
+++ b/src/libserver/css/css_parser.cxx
@@ -836,6 +836,7 @@ TEST_SUITE("css parser") {
".chat-icon[_ng-cnj-c0]::before{content:url(group-2.63e87cd21fbf8c966dd.svg);width:60px;height:60px;display:block}",
"tt{color:#1e3482}",
"tt{unicode-range: u+0049-u+004a,u+0020;}",
+ "@import url(https://fonts.googleapis.com/css?family=arial:300,400,7000;",
};
rspamd_mempool_t *pool = rspamd_mempool_new(rspamd_mempool_suggest_size(),