wiki:Errata/2017-02-19

Version 1 (modified by Dag-Erling Smørgrav, 4 years ago) (diff)

--

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.