Changes committed to git://oss.sgi.com/pcp/pcp.git dev
src/libpcp/src/context.c | 1 -
src/libpcp/src/secureconnect.c | 20 ++++++++++----------
src/libpcp/src/spec.c | 4 ----
3 files changed, 10 insertions(+), 15 deletions(-)
commit 16362ac6928c01e1445ec96fa6daf85f91329caf
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date: Fri Jul 26 17:23:11 2013 +1000
Fix SASL related memory leaks, sort out authname mapping
Re-read a bunch of SASL documentation, and performed further
testing on differences between authname and username. I now
am led to believe in our scenario these really can and should
be the same thing, so they are now mapped.
Further, discovered we need to manage all of our own memory,
including the results returned from callbacks. We can manage
this feat by always tracking values, including those supplied
by the user, inside the attributes hash. This memory is then
freed correctly at the end of the connection.
|