git-svn: trunk@3184
Tomasz Kojm authored on 2007/08/22 05:27:40... | ... |
@@ -1,3 +1,7 @@ |
1 |
+Tue Aug 21 21:32:30 CEST 2007 (tk) |
|
2 |
+---------------------------------- |
|
3 |
+ * libclamav/htmlnorm.c: fix possible NULL dereference (bb#582) |
|
4 |
+ |
|
1 | 5 |
Mon Aug 20 23:31:16 CEST 2007 (tk) |
2 | 6 |
---------------------------------- |
3 | 7 |
* libclamav/filetypes.c: some embedded PEs were not being detected |
... | ... |
@@ -1190,7 +1190,7 @@ static int cli_html_normalise(int fd, m_area_t *m_area, const char *dirname, tag |
1190 | 1190 |
html_output_str(file_buff_o2, buff, strlen(buff)); |
1191 | 1191 |
} |
1192 | 1192 |
} else |
1193 |
- html_output_c(file_buff_o1, file_buff_o2, tolower(value)); |
|
1193 |
+ html_output_c(file_buff_o1, file_buff_o2, tolower(value&0xff)); |
|
1194 | 1194 |
state = next_state; |
1195 | 1195 |
next_state = HTML_BAD_STATE; |
1196 | 1196 |
ptr++; |