memory leak happend
Opened this issue · 1 comments
xuraoqing commented
memory leak happend in sssd/src/sss_client/autofs/autofs_test_client.c:
get mapname from pc at line 66 as above, but pc freed at line 74, mapname used at line 84 again,cause UAF。
problem mentioned above happend when popt merge the commit below(fixed poptFreeContext free memory incorrectly)
rpm-software-management/popt@7182e46
sumit-bose commented
Hi,
thank you for the report. It looks like src/tests/test_ssh_client.c
might be affected as well. Would you like to provide a fix for the issue?
bye,
Sumit