Mercurial > libpst
annotate src/lzfu.h @ 85:582e927756d3 stable-0-6-15
Patch from Robert Simpson for file handle leak in error case.
Fix for missing length on lz decompression, bug found by Chris White.
author | Carl Byington <carl@five-ten-sg.com> |
---|---|
date | Wed, 30 Jul 2008 22:01:52 -0700 |
parents | 987aa872294e |
children | 6954d315aaa8 |
rev | line source |
---|---|
16 | 1 #ifndef LZFU_H |
2 #define LZFU_H | |
41
183ae993b9ad
security fix for potential buffer overrun in lz decompress
carl
parents:
36
diff
changeset
|
3 |
73
3cb02cb1e6cd
Patch from Robert Simpson to fix doubly-linked list in the cache_ptr code, and allow arrays of unicode strings (without converting them).
Carl Byington <carl@five-ten-sg.com>
parents:
43
diff
changeset
|
4 char* lzfu_decompress (char* rtfcomp, uint32_t compsize, size_t *size); |
41
183ae993b9ad
security fix for potential buffer overrun in lz decompress
carl
parents:
36
diff
changeset
|
5 |
183ae993b9ad
security fix for potential buffer overrun in lz decompress
carl
parents:
36
diff
changeset
|
6 #endif |