pcp
[Top] [All Lists]

pcp updates

To: pcp@xxxxxxxxxxx
Subject: pcp updates
From: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date: Fri, 23 Dec 2011 12:29:04 +1100
Changes committed to git://oss.sgi.com/kenj/pcp.git dev

 src/libpcp/src/connectlocal.c |    5 ++++-
 src/libpcp_gui/src/record.c   |    4 +++-
 2 files changed, 7 insertions(+), 2 deletions(-)

commit 4b3830e00a64d4649ecc3dc2467a61bbd2a0df1e
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Thu Dec 22 08:36:02 2011 +1100

    libpcp/connectlocal.c - fix buffer overrun error
    
    Logic error in __pmSpecLocalPMDA() in the case of a malformed
    specification ... QA 344 was exposing this, but only on some platforms.

commit 1918b64bf3292532722b83c081e64dd51e37888d
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Thu Dec 22 07:27:02 2011 +1100

    libpcp_gui/record.c - fix string not-terminated bug
    
    In building rp->public->logfile, the optional addition of the filename
    separator did not leave the result null-byte terminated, making the
    following strcat() a loaded gun.
    
    Found on openSUSE 12.1, although this has little to due with SUSE and
    more to do with the state of the stack, the glibc version in place and
    the alignment of the planets (signficantly, this bug was found and fixed
    on the day of the Summer Solstice in the southern hemisphere).



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