diff options
author | Tobias Stoeckmann <tobias@stoeckmann.org> | 2023-12-04 22:26:54 +0100 |
---|---|---|
committer | Tobias Stoeckmann <tobias@stoeckmann.org> | 2023-12-04 22:42:38 +0100 |
commit | 1ece6892d65326afbecba0049615925b9e05b49d (patch) | |
tree | dd83864524b0530068b12bd93040a148a7240411 /modules/pam_timestamp | |
parent | 40d87993dfbaf098f4b266e4f373d01dbd216314 (diff) | |
download | pam-1ece6892d65326afbecba0049615925b9e05b49d.tar.gz pam-1ece6892d65326afbecba0049615925b9e05b49d.tar.bz2 pam-1ece6892d65326afbecba0049615925b9e05b49d.zip |
pam_nologin: prevent short read
If /etc/nologin is larger than INT_MAX, the error messages are
misleading. No unexpected internal read error occurs, but instead
the internal limitations are reached.
Indicate that the file is too large if it is larger than INT_MAX.
Signed-off-by: Tobias Stoeckmann <tobias@stoeckmann.org>
Diffstat (limited to 'modules/pam_timestamp')
0 files changed, 0 insertions, 0 deletions