Mercurial > libpst
comparison src/libpst.h @ 41:183ae993b9ad
security fix for potential buffer overrun in lz decompress
author | carl |
---|---|
date | Tue, 02 Oct 2007 15:49:44 -0700 |
parents | 2ad7ef0a3c4f |
children | f6db1f060a95 |
comparison
equal
deleted
inserted
replaced
40:be6d5329cc01 | 41:183ae993b9ad |
---|---|
175 char *subj; | 175 char *subj; |
176 } pst_item_email_subject; | 176 } pst_item_email_subject; |
177 | 177 |
178 typedef struct _pst_item_email { | 178 typedef struct _pst_item_email { |
179 FILETIME *arrival_date; | 179 FILETIME *arrival_date; |
180 int32_t autoforward; // 1 = true, 0 = not set, -1 = false | 180 int32_t autoforward; // 1 = true, 0 = not set, -1 = false |
181 char *body; | 181 char *body; |
182 char *cc_address; | 182 char *cc_address; |
183 char *common_name; | 183 char *common_name; |
184 int32_t conv_index; | 184 int32_t conv_index; |
185 int32_t conversion_prohib; | 185 int32_t conversion_prohib; |
186 int32_t delete_after_submit; // 1 = true, 0 = false | 186 int32_t delete_after_submit; // 1 = true, 0 = false |
187 int32_t delivery_report; // 1 = true, 0 = false | 187 int32_t delivery_report; // 1 = true, 0 = false |
188 char *encrypted_body; | 188 char *encrypted_body; |
189 int32_t encrypted_body_size; | 189 int32_t encrypted_body_size; |
190 char *encrypted_htmlbody; | 190 char *encrypted_htmlbody; |
191 int32_t encrypted_htmlbody_size; | 191 int32_t encrypted_htmlbody_size; |
192 int32_t flag; | 192 int32_t flag; |
193 char *header; | 193 char *header; |
194 char *htmlbody; | 194 char *htmlbody; |
195 int32_t importance; | 195 int32_t importance; |
196 char *in_reply_to; | 196 char *in_reply_to; |
197 int32_t message_cc_me; // 1 = true, 0 = false | 197 int32_t message_cc_me; // 1 = true, 0 = false |
198 int32_t message_recip_me; // 1 = true, 0 = false | 198 int32_t message_recip_me; // 1 = true, 0 = false |
199 int32_t message_to_me; // 1 = true, 0 = false | 199 int32_t message_to_me; // 1 = true, 0 = false |
200 char *messageid; | 200 char *messageid; |
201 int32_t orig_sensitivity; | 201 int32_t orig_sensitivity; |
202 char *outlook_recipient; | 202 char *outlook_recipient; |
203 char *outlook_recipient2; | 203 char *outlook_recipient2; |
204 char *outlook_sender; | 204 char *outlook_sender; |
205 char *outlook_sender_name; | 205 char *outlook_sender_name; |
206 char *outlook_sender2; | 206 char *outlook_sender2; |
207 int32_t priority; | 207 int32_t priority; |
208 char *proc_subject; | 208 char *proc_subject; |
209 int32_t read_receipt; | 209 int32_t read_receipt; |
210 char *recip_access; | 210 char *recip_access; |
211 char *recip_address; | 211 char *recip_address; |
212 char *recip2_access; | 212 char *recip2_access; |
213 char *recip2_address; | 213 char *recip2_address; |
214 int32_t reply_requested; | 214 int32_t reply_requested; |
215 char *reply_to; | 215 char *reply_to; |
216 char *return_path_address; | 216 char *return_path_address; |
217 int32_t rtf_body_char_count; | 217 int32_t rtf_body_char_count; |
218 int32_t rtf_body_crc; | 218 int32_t rtf_body_crc; |
219 char *rtf_body_tag; | 219 char *rtf_body_tag; |
220 char *rtf_compressed; | 220 char *rtf_compressed; |
221 int32_t rtf_in_sync; // 1 = true, 0 = doesn't exist, -1 = false | 221 u_int32_t rtf_compressed_size; |
222 int32_t rtf_ws_prefix_count; | 222 int32_t rtf_in_sync; // 1 = true, 0 = doesn't exist, -1 = false |
223 int32_t rtf_ws_trailing_count; | 223 int32_t rtf_ws_prefix_count; |
224 char *sender_access; | 224 int32_t rtf_ws_trailing_count; |
225 char *sender_address; | 225 char *sender_access; |
226 char *sender2_access; | 226 char *sender_address; |
227 char *sender2_address; | 227 char *sender2_access; |
228 int32_t sensitivity; | 228 char *sender2_address; |
229 int32_t sensitivity; | |
229 FILETIME *sent_date; | 230 FILETIME *sent_date; |
230 pst_entryid *sentmail_folder; | 231 pst_entryid *sentmail_folder; |
231 char *sentto_address; | 232 char *sentto_address; |
232 pst_item_email_subject *subject; | 233 pst_item_email_subject *subject; |
233 } pst_item_email; | 234 } pst_item_email; |
234 | 235 |
235 typedef struct _pst_item_folder { | 236 typedef struct _pst_item_folder { |
236 int32_t email_count; | 237 int32_t email_count; |