wiki:Errata/2013-03-04

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.
Last modified 4 years ago Last modified on Oct 22, 2014, 11:16:33 AM