mirror of
https://github.com/Cisco-Talos/clamav.git
synced 2026-05-18 21:40:17 -04:00
Better handling of empty charset in meta tag.
git-svn: trunk@2901
This commit is contained in:
@@ -1,3 +1,7 @@
|
||||
Fri Mar 2 23:05:00 CET 2007 (edwin)
|
||||
----------------------------------
|
||||
* libclamav/htmlnorm.c: Better handling for empty charset in meta tag.
|
||||
|
||||
Fri Mar 2 19:16:19 GMT 2007 (njh)
|
||||
----------------------------------
|
||||
* libclamav/mbox.c: Fix bug 255
|
||||
|
||||
@@ -979,7 +979,8 @@ static int cli_html_normalise(int fd, m_area_t *m_area, const char *dirname, tag
|
||||
if(charset) {
|
||||
while(*charset && *charset != '=')
|
||||
charset++;
|
||||
charset++;/* skip = */
|
||||
if(*charset)
|
||||
charset++;/* skip = */
|
||||
len = strcspn((const char*)charset," \"'");
|
||||
charset[len] = '\0';
|
||||
if(len)
|
||||
|
||||
Reference in New Issue
Block a user