commit 17b2c63: [Minor] Oops, more crap filtering
Vsevolod Stakhov
vsevolod at highsecure.ru
Thu Feb 21 13:14:03 UTC 2019
Author: Vsevolod Stakhov
Date: 2019-02-21 13:09:42 +0000
URL: https://github.com/rspamd/rspamd/commit/17b2c63f511a7be880de789d2fa42cdc3009acec (HEAD -> master)
[Minor] Oops, more crap filtering
---
src/libserver/html.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/src/libserver/html.c b/src/libserver/html.c
index de632201c..8ade5a61e 100644
--- a/src/libserver/html.c
+++ b/src/libserver/html.c
@@ -1380,6 +1380,10 @@ rspamd_html_process_url (rspamd_mempool_t *pool, const gchar *start, guint len,
memcpy (d, "http://", sizeof ("http://") - 1);
d += sizeof ("http://") - 1;
}
+ else {
+ /* Some crap */
+ return NULL;
+ }
}
}
More information about the Commits
mailing list