annotate src/lzfu.h @ 42:7a97f50c39c5 stable-0-5-12 **FUNKY**

security fix for potential buffer overrun in lz decompress
author carl
date Tue, 02 Oct 2007 16:10:36 -0700
parents 183ae993b9ad
children f6db1f060a95
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
16
c508ee15dfca switch to automake/autoconf
carl
parents:
diff changeset
1 #ifndef LZFU_H
c508ee15dfca switch to automake/autoconf
carl
parents:
diff changeset
2 #define LZFU_H
41
183ae993b9ad security fix for potential buffer overrun in lz decompress
carl
parents: 36
diff changeset
3
183ae993b9ad security fix for potential buffer overrun in lz decompress
carl
parents: 36
diff changeset
4 #ifdef _MSC_VER
183ae993b9ad security fix for potential buffer overrun in lz decompress
carl
parents: 36
diff changeset
5 #define u_int32_t unsigned int
183ae993b9ad security fix for potential buffer overrun in lz decompress
carl
parents: 36
diff changeset
6 #else
183ae993b9ad security fix for potential buffer overrun in lz decompress
carl
parents: 36
diff changeset
7 #include <stdint.h>
16
c508ee15dfca switch to automake/autoconf
carl
parents:
diff changeset
8 #endif
41
183ae993b9ad security fix for potential buffer overrun in lz decompress
carl
parents: 36
diff changeset
9
183ae993b9ad security fix for potential buffer overrun in lz decompress
carl
parents: 36
diff changeset
10 unsigned char* lzfu_decompress (unsigned char* rtfcomp, u_int32_t compsize, size_t *size);
183ae993b9ad security fix for potential buffer overrun in lz decompress
carl
parents: 36
diff changeset
11
183ae993b9ad security fix for potential buffer overrun in lz decompress
carl
parents: 36
diff changeset
12 #endif