... | ... |
@@ -1,3 +1,7 @@ |
1 |
+Thu Jan 20 11:16:17 EET 2011 (edwin) |
|
2 |
+------------------------------------ |
|
3 |
+ * libclamav/pdf.c: fix uninit value (bb #2455). |
|
4 |
+ |
|
1 | 5 |
Thu Jan 20 10:11:32 EET 2011 (edwin) |
2 | 6 |
------------------------------------ |
3 | 7 |
* libclamav/c++/llvm: port 2 upstream commits to fix bb#8723. |
... | ... |
@@ -1761,11 +1761,12 @@ static int asciihexdecode(const char *buf, off_t len, char *output) |
1761 | 1761 |
continue; |
1762 | 1762 |
if (buf[i] == '>') |
1763 | 1763 |
break; |
1764 |
- if (cli_hex2str_to(buf+i, output+j++, 2) == -1) { |
|
1764 |
+ if (cli_hex2str_to(buf+i, output+j, 2) == -1) { |
|
1765 | 1765 |
if (len - i < 4) |
1766 | 1766 |
continue; |
1767 | 1767 |
return -1; |
1768 | 1768 |
} |
1769 |
+ j++; |
|
1769 | 1770 |
i++; |
1770 | 1771 |
} |
1771 | 1772 |
return j; |