Hi -
This is with older-than-git-master libpcp, but as this problem occurs
during the pmNewContext, commit 63721a89 shouldn't be related.
% valgrind pminfo -h 'pcp://localhost?pass=jsjs'
==18776== Memcheck, a memory error detector
==18776== Copyright (C) 2002-2013, and GNU GPL'd, by Julian Seward et al.
==18776== Using Valgrind-3.10.1 and LibVEX; rerun with -h for copyright info
==18776== Command: pminfo -h pcp://localhost?container=FOO&pass=jsjs
==18776==
Username: sdf
==18776== Invalid free() / delete / delete[] / realloc()
==18776== at 0x4C2ACE9: free (in
/usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
==18776== by 0x4E6B6B1: attrHashNodeDel (spec.c:682)
==18776== by 0x4E809C4: __pmHashWalkCB (hash.c:146)
==18776== by 0x4E49A6C: pmNewContext (context.c:518)
==18776== by 0x4017F3: main (pminfo.c:642)
==18776== Address 0x7ce15d0 is 0 bytes inside a block of size 5 free'd
==18776== at 0x4C2ACE9: free (in
/usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
==18776== by 0x4E8A374: __pmAuthSecretCB (secureconnect.c:764)
==18776== by 0x5C2845A: _plug_get_password (in /usr/lib64/libsasl2.so.3.0.0)
==18776== by 0x92BC4CE: ??? (in /usr/lib64/sasl2/libdigestmd5.so.3.0.0)
==18776== by 0x92C0894: ??? (in /usr/lib64/sasl2/libdigestmd5.so.3.0.0)
==18776== by 0x5C1C689: sasl_client_step (in /usr/lib64/libsasl2.so.3.0.0)
==18776== by 0x4E8B0BD: __pmAuthClientNegotiation (secureconnect.c:1133)
==18776== by 0x4E8BBC8: __pmSecureClientHandshake (secureconnect.c:1215)
==18776== by 0x4E47099: attributes_handshake (connect.c:175)
==18776== by 0x4E47099: __pmConnectHandshake (connect.c:257)
==18776== by 0x4E478D2: __pmConnectPMCD (connect.c:413)
==18776== by 0x4E498BB: pmNewContext (context.c:507)
==18776== by 0x4017F3: main (pminfo.c:642)
|