]> granicus.if.org Git - linux-pam/commit
pam_succeed_if: Use long long type for numeric values
authorTomas Mraz <tmraz@fedoraproject.org>
Fri, 17 Oct 2014 06:34:24 +0000 (08:34 +0200)
committerTomas Mraz <tmraz@fedoraproject.org>
Fri, 17 Oct 2014 06:34:24 +0000 (08:34 +0200)
commit3ad8ed87726d5c3a6a9f15a5c2dce2ce8aca06b6
tree0063d9c0bc9c6d759f477326815b4663273db592
parent0d29e379601819c7f7ed8de18b54de803a9f4049
pam_succeed_if: Use long long type for numeric values

The currently used long with additional conversion to int is
too small for uids and gids.

modules/pam_succeed_if/pam_succeed_if.c (evaluate_num): Replace
strtol() with strtoll() and int with long long in the parameters
of comparison functions.
modules/pam_succeed_if/pam_succeed_if.c