pcp
[Top] [All Lists]

pcp updates - cherry pick Frank's p_instance.c fix and new QA

To: pcp@xxxxxxxxxxx
Subject: pcp updates - cherry pick Frank's p_instance.c fix and new QA
From: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date: Thu, 05 Mar 2015 21:43:11 +1100
Delivered-to: pcp@xxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0
Changes committed to git://git.pcp.io/kenj/pcp dev

Ken McDonell (2):
      scripts/pcp-push: cosmetic changes
      qa/874: check for memory corruption in libpcp/p_instance.c

Frank Ch. Eigler (1):
      libpcp memory corruption bug: __pmSendInstanceReq doing __pmFindPDU too 
small

 qa/874                      |   30 ++++++++++++++++++++++++++++++
 qa/874.out                  |   12 ++++++++++++
 qa/group                    |    1 +
 scripts/pcp-push            |    3 ++-
 src/libpcp/src/p_instance.c |    2 +-
 5 files changed, 46 insertions(+), 2 deletions(-)

Details ...

commit 7d060a2e287dd5c23a2e8af89dffd6516a7a1cc4
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Thu Mar 5 21:40:41 2015 +1100

    qa/874: check for memory corruption in libpcp/p_instance.c

commit 5aad59415483a7d4080078f88de6c0052ec351c5
Author: Frank Ch. Eigler <fche@xxxxxxxxxx>
Date:   Mon Mar 2 18:32:20 2015 -0500

    libpcp memory corruption bug: __pmSendInstanceReq doing __pmFindPDU too 
small
    
    An exact-size __pmFindPDU malloc implementation found this bug in
    p_instance.c, wherein the `sizeof(need)' rather than `need' was
    passed.  This corrupted memory behind the declared region, but the
    problem was hidden because the clasical __pmFindPDU rounded up memory
    allocations to 1K+, but large indom-name queries can trigger it.

commit 55c04968c31fe32ac51e887df9b958efb0c375f3
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date:   Thu Mar 5 20:17:24 2015 +1100

    scripts/pcp-push: cosmetic changes

<Prev in Thread] Current Thread [Next in Thread>
  • pcp updates - cherry pick Frank's p_instance.c fix and new QA, Ken McDonell <=