Appears to be from lack of null checking on the pst_file object. Quick and
dirty fix:

--- a/src/libpst.c      Wed Aug 01 08:49:01 2018 -0700
+++ b/src/libpst.c      Tue Jul 16 12:16:41 2019 -0400
@@ -409,6 +409,11 @@

 int pst_close(pst_file *pf) {
     DEBUG_ENT("pst_close");
+    if (pf == NULL) {
+        DEBUG_RET();
+        return 0;
+    }
+
     if (!pf->fp) {
         DEBUG_RET();
         return 0;

Anyone know how I can submit changes to the main HG repository? Don't see
any contact info around. Or if someone could submit these changes on my
behalf that would be great.

Reply via email to