chiark / gitweb /
pam: document that we don't do error checking when parsing vtnr
authorLennart Poettering <lennart@poettering.net>
Fri, 21 Sep 2012 14:17:22 +0000 (16:17 +0200)
committerLennart Poettering <lennart@poettering.net>
Fri, 21 Sep 2012 14:17:26 +0000 (16:17 +0200)
src/login/pam-module.c

index d7f412860a10b9615cc4a3ca850ceea3f9d1f453..0d387918c7eac328a63fa6d932ca6c82728f399f 100644 (file)
@@ -452,6 +452,7 @@ _public_ PAM_EXTERN int pam_sm_open_session(
                 tty = "";
         }
 
+        /* If this fails vtnr will be 0, that's intended */
         if (!isempty(cvtnr))
                 safe_atou32(cvtnr, &vtnr);