pcp
[Top] [All Lists]

pcp updates

To: pcp@xxxxxxxxxxx
Subject: pcp updates
From: Nathan Scott <nathans@xxxxxxxxxx>
Date: Fri, 13 Jan 2012 11:06:38 +1100 (EST)
Changes committed to git://oss.sgi.com/nathans/pcp.git dev

 src/cpan/PMDA/PMDA.xs               |    3 ++-
 src/dbpmda/src/pmda.c               |   16 +++++++++-------
 src/libpcp/src/loop.c               |    2 +-
 src/libpcp/src/p_lcontrol.c         |    1 -
 src/libpcp_http/src/http_fetcher.c  |    6 +++---
 src/pmdas/linux/interrupts.c        |    2 +-
 src/pmdas/linux/pmda.c              |    7 ++++---
 src/pmdas/linux/proc_meminfo.c      |    2 +-
 src/pmdas/linux/proc_net_snmp.c     |    2 +-
 src/pmdas/linux/proc_net_sockstat.c |    2 +-
 src/pmdas/linux/proc_scsi.c         |    1 +
 src/pmdas/linux/proc_stat.c         |    5 ++++-
 src/pmdas/linux/proc_vmstat.c       |    2 +-
 src/pmdas/mounts/mounts.c           |    3 ++-
 src/pmdas/process/process.c         |    3 ++-
 src/pmlogreduce/dometric.c          |    4 ++--
 src/pmlogreduce/indom.c             |    2 +-
 src/pmlogreduce/scan.c              |    2 +-
 18 files changed, 37 insertions(+), 28 deletions(-)

commit d8f0d28e4bfa4505d92ed5307ed4632205e3a6b7
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date:   Fri Jan 13 11:00:30 2012 +1100

    Fix check for older kernel versions, logic for eaqrly 2.6 was just plain 
wrong

commit 6ca653424dd265dd094f356b02d382bcf0a822fd
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date:   Fri Jan 13 09:27:59 2012 +1100

    Fix invalid free attempt on result in log control pdu error path.

commit d1552a02e6828d5a5248b01343f33f1d6936b5dd
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date:   Fri Jan 13 09:26:36 2012 +1100

    Fix total botch of logic in pmLoopRegisterSignal, clearly noones ever used 
this.

commit 4aa0bb68365670ccf3bf35211b9d6dbbe504f550
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date:   Fri Jan 13 08:47:07 2012 +1100

    Resolve some dodgey use of file pointers in the mounts PMDA.

commit 64fa9ceb3bee1fb44578f2ee5c583b8839228ff5
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date:   Fri Jan 13 08:45:48 2012 +1100

    Improve handling of fopen return value in linux PMDA interrupts code.

commit a57c46a7b483fbd5ea43234fa8e13226d2e08841
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date:   Fri Jan 13 08:41:43 2012 +1100

    Resolve some dodgey use of file pointers in the process PMDA.

commit e57f80da1619431343b596611cae38d599832cd1
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date:   Fri Jan 13 08:28:05 2012 +1100

    Ensure cpu indom pointer is set now that struct properly zeroed.
    
    Resolving an earlier issue of not-zeroing the linux PMDA proc_stat
    structure has exposed a working-by-chance side-effect ... an indom
    pointer is now zeroed when before it was allowed to remain set even
    though the structure was supposed to be zeroed.  Ugh.

commit 4ca7322b29388290a08fa9291e2837c8015f800f
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date:   Fri Jan 13 08:15:14 2012 +1100

    Ensure null not passed to strcmp in PCP::PMDA pmns_write.

commit 1d0008ddea554e83dc588f9318de1e1016146958
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date:   Thu Jan 12 08:42:22 2012 +1100

    Resolve a benign access to uninitd memory in pmdalinux scsi code.

commit 67064c5a97d44ea8aa8207dc58251d3ca353e367
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date:   Thu Jan 12 08:40:32 2012 +1100

    Fix several dbpmda issues found by static analysis.
    
    Resolve an off-by-one error on memory allocation for stings,
    a leaked result pointer, several missing negations on errno
    return codes, and an uninitialised use of sts variable in an
    error path.

commit 700a6a0187de8629c2ddb3617145a9261ae7eb25
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date:   Thu Jan 12 08:29:01 2012 +1100

    Fix libpcp_http issues found by static analysis.
    
    Resolve off-by-one errors on memory allocation for stings.

commit 7d65a1099198614183f41c8d81b299840c66fdc5
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date:   Thu Jan 12 08:26:44 2012 +1100

    Fix pmlogreduce issues found by static analysis.
    
    Couple of cases of using equality test instead of assignment
    for function call return, and a null-pointer dereference in
    some error handling code.

commit 5550f722f8912e2235e1c396f3a936b237cd1915
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date:   Thu Jan 12 08:15:21 2012 +1100

    Fix several incorrect pmdalinux memset-to-zero sizes initialisation code.

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