FWIW I'm going to mark this bug 'low' instead of high, on the basis that Debian has shipped pam 1.4.0 in a stable release and there hasn't even been a single bug report about this issue, it was only caught because of a bug in the Ubuntu autopkgtest-cloud implementation that was writing entries to /etc/environment without a final newline.
Also assigning the bug to Simon who did the Debian merge (thanks!), so he can assess whether this is something we should prioritize fixing.
FWIW I'm going to mark this bug 'low' instead of high, on the basis that Debian has shipped pam 1.4.0 in a stable release and there hasn't even been a single bug report about this issue, it was only caught because of a bug in the Ubuntu autopkgtest-cloud implementation that was writing entries to /etc/environment without a final newline.
Also assigning the bug to Simon who did the Debian merge (thanks!), so he can assess whether this is something we should prioritize fixing.