# HG changeset patch # User Carl Byington # Date 1564065829 25200 # Node ID 2379a4d8d9c71eccac498851de220e2f80f41c55 # Parent 7eab29e13e6100048f3a8be71b7dc466ecac4be2 Tim Dufrane - fix segfault in pst_close() diff -r 7eab29e13e61 -r 2379a4d8d9c7 AUTHORS --- a/AUTHORS Thu Jul 25 07:18:19 2019 -0700 +++ b/AUTHORS Thu Jul 25 07:43:49 2019 -0700 @@ -44,6 +44,7 @@ Zachary Travis Vitaliy Didik Alfredo Esteban + Tim Dufrane Testing team: Mac OSX - Michael Watson diff -r 7eab29e13e61 -r 2379a4d8d9c7 ChangeLog --- a/ChangeLog Thu Jul 25 07:18:19 2019 -0700 +++ b/ChangeLog Thu Jul 25 07:43:49 2019 -0700 @@ -1,3 +1,6 @@ +LibPST 0.6.73 (2019-07-25) + * Tim Dufrane - fix segfault in pst_close() + LibPST 0.6.72 (2018-08-01) =============================== * Alfredo Esteban - add -l and -f options to lspst. diff -r 7eab29e13e61 -r 2379a4d8d9c7 NEWS --- a/NEWS Thu Jul 25 07:18:19 2019 -0700 +++ b/NEWS Thu Jul 25 07:43:49 2019 -0700 @@ -1,4 +1,5 @@ -0.6.72 2017-12-07 Alfredo Esteban - add -l and -f options to lspst. +0.6.73 2019-07-25 Tim Dufrane - fix segfault in pst_close() +0.6.72 2018-08-01 Alfredo Esteban - add -l and -f options to lspst. 0.6.71 2017-07-21 Zachary Travis - Add support for the OST 2013 format, and Content-Disposition filename key fix for outlook compatibility 0.6.70 2017-02-08 Jeffrey Morlan - pst_getID2 must not recurse into children 0.6.69 2016-10-29 fix bugs in code allowing folders containing multiple item types diff -r 7eab29e13e61 -r 2379a4d8d9c7 configure.in --- a/configure.in Thu Jul 25 07:18:19 2019 -0700 +++ b/configure.in Thu Jul 25 07:43:49 2019 -0700 @@ -1,5 +1,5 @@ AC_PREREQ(2.60) -AC_INIT(libpst,0.6.72,carl@five-ten-sg.com) +AC_INIT(libpst,0.6.73,carl@five-ten-sg.com) AC_CONFIG_SRCDIR([src/libpst.c]) AC_CONFIG_HEADER([config.h]) AC_CONFIG_MACRO_DIR([m4]) @@ -21,7 +21,7 @@ # 6. libtool will build libpst.so.x.y.z where the SONAME is libpst.so.x # and x=current-age, y=age, z=revision -libpst_version_info='5:14:1' +libpst_version_info='5:15:1' AC_SUBST(LIBPST_VERSION_INFO, [$libpst_version_info]) libpst_so_major='4' AC_SUBST(LIBPST_SO_MAJOR, [$libpst_so_major]) @@ -54,6 +54,7 @@ # 0.6.67 libpst.so.4 libpst.so.4.1.12 # 0.6.68 libpst.so.4 libpst.so.4.1.13 # 0.6.69 libpst.so.4 libpst.so.4.1.14 +# 0.6.73 libpst.so.4 libpst.so.4.1.15 diff -r 7eab29e13e61 -r 2379a4d8d9c7 libpst.spec.in --- a/libpst.spec.in Thu Jul 25 07:18:19 2019 -0700 +++ b/libpst.spec.in Thu Jul 25 07:43:49 2019 -0700 @@ -1,7 +1,7 @@ Summary: Utilities to convert Outlook .pst files to other formats Name: @PACKAGE@ Version: @VERSION@ -Release: 4%{?dist} +Release: 1%{?dist} License: GPLv2+ Source: http://www.five-ten-sg.com/%{name}/packages/%{name}-%{version}.tar.gz URL: http://www.five-ten-sg.com/%{name}/ @@ -178,6 +178,9 @@ %changelog +* Thu Jul 25 2019 Carl Byington 0.6.73-1 +- Tim Dufrane - fix segfault in pst_close() + * Fri Jun 07 2019 Carl Byington 0.6.72-4 - fixes for python3 diff -r 7eab29e13e61 -r 2379a4d8d9c7 src/libpst.c --- a/src/libpst.c Thu Jul 25 07:18:19 2019 -0700 +++ b/src/libpst.c Thu Jul 25 07:43:49 2019 -0700 @@ -409,6 +409,10 @@ int pst_close(pst_file *pf) { DEBUG_ENT("pst_close"); + if (!pf) { + DEBUG_RET(); + return 0; + } if (!pf->fp) { DEBUG_RET(); return 0;