changeset 356:fec7f4fca713

From Jeffrey Morlan: pst_parse_block returns null upon finding a property of unrecognized type. Many PSTs contain messages with these - it should just ignore the property, not the whole message. Again, this causes missing emails.
author Carl Byington <carl@five-ten-sg.com>
date Wed, 06 Jul 2016 10:15:28 -0700
parents d1f930be4711
children 544d57fe6bc6
files src/libpst.c
diffstat 1 files changed, 0 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/src/libpst.c	Wed Jul 06 10:12:22 2016 -0700
+++ b/src/libpst.c	Wed Jul 06 10:15:28 2016 -0700
@@ -1827,10 +1827,6 @@
                 if (mo_ptr->elements[x]->type == 0) mo_ptr->elements[x]->type = table_rec.ref_type;
             } else {
                 DEBUG_WARN(("ERROR Unknown ref_type %#hx\n", table_rec.ref_type));
-                freeall(&subblocks, &block_offset1, &block_offset2, &block_offset3, &block_offset4, &block_offset5, &block_offset6, &block_offset7);
-                pst_free_list(mo_head);
-                DEBUG_RET();
-                return NULL;
             }
             x++;
         }