Bug#875894: #875894 Fix

2019-12-15 Thread Paul Wise
Control: tags -1 fixed-upstream
Control: forwarded -1 hg clone http://hg.five-ten-sg.com/libpst/ changeset: 
383:2379a4d8d9c7

On Tue, 16 Jul 2019 12:18:21 -0400 Tim Dufrane wrote:

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

FYI, this patch appears to have been accepted into the upstream repo.

> 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.

I'm not sure how you got your patch in but I've had success emailing
the upstream maintainer, who also happens to maintain the RPM package.

   Carl Byington 

-- 
bye,
pabs

https://wiki.debian.org/PaulWise


signature.asc
Description: This is a digitally signed message part


Bug#875894: #875894 Fix

2019-07-16 Thread Tim Dufrane
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.