Mercurial > libpst
comparison src/lzfu.h @ 41:183ae993b9ad
security fix for potential buffer overrun in lz decompress
author | carl |
---|---|
date | Tue, 02 Oct 2007 15:49:44 -0700 |
parents | 6fe121a971c9 |
children | f6db1f060a95 |
comparison
equal
deleted
inserted
replaced
40:be6d5329cc01 | 41:183ae993b9ad |
---|---|
1 #ifndef LZFU_H | 1 #ifndef LZFU_H |
2 #define LZFU_H | 2 #define LZFU_H |
3 unsigned char* lzfu_decompress (unsigned char* rtfcomp, size_t *size); | 3 |
4 #ifdef _MSC_VER | |
5 #define u_int32_t unsigned int | |
6 #else | |
7 #include <stdint.h> | |
4 #endif | 8 #endif |
9 | |
10 unsigned char* lzfu_decompress (unsigned char* rtfcomp, u_int32_t compsize, size_t *size); | |
11 | |
12 #endif |