pcp
[Top] [All Lists]

Re: [pcp] Double free() bug in interp.c

To: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Subject: Re: [pcp] Double free() bug in interp.c
From: Nathan Scott <nathans@xxxxxxxxxx>
Date: Fri, 17 May 2013 04:36:21 -0400 (EDT)
Cc: PCP Mailing List <pcp@xxxxxxxxxxx>
Delivered-to: pcp@xxxxxxxxxxx
In-reply-to: <951154100.4430537.1368775958655.JavaMail.root@xxxxxxxxxx>
References: <951154100.4430537.1368775958655.JavaMail.root@xxxxxxxxxx>
Reply-to: Nathan Scott <nathans@xxxxxxxxxx>
Thread-index: +KJV8WfF++KASaM+S9Qq5+rlblkT0scOU4N+
Thread-topic: Double free() bug in interp.c
----- Original Message -----
> Hi Ken,
> 
> Keen to pick your brain on some of the things I've been looking
> into today with regards to Fedora/EPEL bug #958745 (as mentioned
> on IRC - https://bugzilla.redhat.com/show_bug.cgi?id=958745).
> 
> From what I can tell, the root cause appears to be a PDU buffer
> pin count accounting issue.  I've attached a patch that cranks
> the volume up to 11 in the relevant areas of the code, running

Oh, I should point out that the patch provides a workaround for
the bug (see lines marked "!!!"); so I no longer see the sigsegv
with it, but I suspect it slowly leaks pdubufs.

cheers.

--
Nathan

<Prev in Thread] Current Thread [Next in Thread>