git-svn: trunk@2599
Tomasz Kojm authored on 2007/01/08 06:02:34... | ... |
@@ -1,3 +1,8 @@ |
1 |
+Sun Jan 7 21:58:33 CET 2007 (tk) |
|
2 |
+--------------------------------- |
|
3 |
+ * libclamav/ole2_extract: fix endian issue in ole2_get_next_xbat_block(), |
|
4 |
+ patch from Kei Choi <hanul93*naver.com> (bb#152) |
|
5 |
+ |
|
1 | 6 |
Sun Jan 7 21:48:22 CET 2007 (tk) |
2 | 7 |
--------------------------------- |
3 | 8 |
* libclamav: enable RTF extractor by default |
... | ... |
@@ -330,7 +330,7 @@ static int32_t ole2_get_next_xbat_block(int fd, ole2_header_t *hdr, int32_t curr |
330 | 330 |
xbat_block_index--; |
331 | 331 |
} |
332 | 332 |
|
333 |
- if (!ole2_read_block(fd, hdr, &bat, xbat[bat_blockno])) { |
|
333 |
+ if (!ole2_read_block(fd, hdr, &bat, ole2_endian_convert_32(xbat[bat_blockno]))) { |
|
334 | 334 |
return -1; |
335 | 335 |
} |
336 | 336 |
|