pcp
[Top] [All Lists]

pcp updates

To: pcp@xxxxxxxxxxx
Subject: pcp updates
From: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date: Fri, 10 Jun 2011 07:03:26 +1000
Thanks David, and apologies for introducing the error in the first
place.

Changes committed to git://oss.sgi.com/pcp/pcp-dev.git dev

 src/libpcp_pmda/src/events.c |    2 ++
 1 file changed, 2 insertions(+)

commit 53bbad5de7dbdb7febb9add8357c4d63f38a12c9
Author: David Smith <dsmith@xxxxxxxxxx>
Date:   Thu Jun 9 14:03:34 2011 -0500

    Be sure that check_buf() updates the event record pointer after a realloc.
    
    Without this change, if realloc() moved the buffer around (instead of
    just lengthening it), the current event record pointer will point to
    the old address, not the new.  This can happen if an event record is
    added, then two event parameter are added (the 2nd causing a
    realloc()).



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