From Coverity:
Assigning: "buf" = storage returned from "malloc(len)". Calling allocation function "malloc". 241 buf = malloc(len); ... 279 if (rp != len) { 280 D(("error during packet creation.")); Variable "buf" going out of scope leaks the storage it points to. 281 return PAM_BUF_ERR; 282 }
Fields changed
milestone: NEEDS_TRIAGE => SSSD 1.2.0
milestone: SSSD 1.2.0 => SSSD 1.2.1
Fixed by ca95af6e15ddc8928684327ff05353b1e3a17acd
resolution: => fixed status: new => closed
fixedin: => 1.2.1 keywords: => coverity
rhbz: => 0
Metadata Update from @sgallagh: - Issue assigned to sbose - Issue set to the milestone: SSSD 1.2.1
SSSD is moving from Pagure to Github. This means that new issues and pull requests will be accepted only in SSSD's github repository.
This issue has been cloned to Github and is available here: - https://github.com/SSSD/sssd/issues/1559
If you want to receive further updates on the issue, please navigate to the github issue and click on subscribe button.
subscribe
Thank you for understanding. We apologize for all inconvenience.