git-svn: trunk@5017
Török Edvin authored on 2009/04/03 05:53:52... | ... |
@@ -1,3 +1,8 @@ |
1 |
+Thu Apr 2 23:53:47 EEST 2009 (edwin) |
|
2 |
+------------------------------------- |
|
3 |
+ * libclamav/jsparse/js-norm.c: fix possible signedness issue (thanks |
|
4 |
+ Nigel). |
|
5 |
+ |
|
1 | 6 |
Thu Apr 2 23:50:36 EEST 2009 (edwin) |
2 | 7 |
------------------------------------- |
3 | 8 |
* contrib/phishing/gdbwhitelist.sh, libclamav/phishcheck.c: add |
... | ... |
@@ -330,7 +330,7 @@ static inline int buf_outs(const char *s, struct buf *buf) |
330 | 330 |
i = buf->pos; |
331 | 331 |
while(*s) { |
332 | 332 |
while(i < buf_len && *s) { |
333 |
- if(isspace(*s)) |
|
333 |
+ if(isspace(*s & 0xff)) |
|
334 | 334 |
buf->buf[i++] = ' '; |
335 | 335 |
else |
336 | 336 |
buf->buf[i++] = tolower((unsigned char)(*s)); |