1 Errata 2013 03 04
Dag-Erling Smørgrav edited this page 2021-10-20 23:28:58 +02:00

Errata: Configuration parsing

Date:: 2013-03-04

Affects:: Micrampelis

References:: http://blog.des.no/2013/03/on-testing-part-ii/

Description:: When {{{openpam_readword()}}} encounters a string in which unquoted text precedes quoted text, it will return an empty string. This affects the PAM policy parser as well as any third-party code that relies on {{{openpam_readword()}}} and / or {{{openpam_readlinev()}}}.

Workaround:: Quote the entire string, e.g. {{{"text=hello world"}}} instead of {{{text="hello world"}}}.

Fix:: Apply r634 and r636.