comparison src/lspst.c @ 355:d1f930be4711

From Jeffrey Morlan: pst_build_id_ptr and pst_build_desc_ptr require that the first child of a BTree page have the same starting ID as itself. This is not required by the spec, and is not true in many real-world PSTs (presumably, the original first child of the page got deleted). Because of this, many emails are not being extracted from these PSTs. It also triggers an infinite loop in lspst (a separate bug, also fixed)
author Carl Byington <carl@five-ten-sg.com>
date Wed, 06 Jul 2016 10:12:22 -0700
parents 201464dd356e
children ad7b880ad3d1
comparison
equal deleted inserted replaced
354:843705c25b45 355:d1f930be4711
135 pst_freeItem(item); 135 pst_freeItem(item);
136 } else { 136 } else {
137 ff.skip_count++; 137 ff.skip_count++;
138 DEBUG_INFO(("A NULL item was seen\n")); 138 DEBUG_INFO(("A NULL item was seen\n"));
139 } 139 }
140 d_ptr = d_ptr->next;
141 } 140 }
141 d_ptr = d_ptr->next;
142 } 142 }
143 close_enter_dir(&ff); 143 close_enter_dir(&ff);
144 if (result) free(result); 144 if (result) free(result);
145 DEBUG_RET(); 145 DEBUG_RET();
146 } 146 }