wiki:Errata/2017-02-19

Errata: Memory leak in pam_set_item()

Date
2017-02-19
Affects
Ourouparia, Nummularia, Micrampelis and Lycopsida
Description
In OpenPAM Lycopsida, code was added to the pam_set_item() function to disallow changing the value of the PAM_SERVICE item, which contains the service name. An unintended side effect of this is that pam_end is no longer able to free the memory allocated to hold the service name. As a consequence, each PAM session leaks a small amount of memory.
Workaround
None.
Fix
Apply r918.
Last modified 22 months ago Last modified on Feb 19, 2017, 6:00:46 PM