]> granicus.if.org Git - linux-pam/commit
Properly test for strtol() failure to find any digits.
authorJosef Moellers <jmoellers@suse.de>
Thu, 9 Feb 2017 11:27:59 +0000 (12:27 +0100)
committerTomas Mraz <tmraz@fedoraproject.org>
Thu, 9 Feb 2017 11:27:59 +0000 (12:27 +0100)
commita9253114c719eace32006058656671f8987eeb12
tree838ae0e983e72af7b96f0d6c3c4823bfd1850f19
parentc8dc2b4c2045bb44a038356751e0f0428afe1171
Properly test for strtol() failure to find any digits.

* modules/pam_access/pam_access.c (network_netmask_match): Test for endptr set
to beginning and not NULL.
modules/pam_access/pam_access.c