aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorChristian Göttsche <cgzones@googlemail.com>2024-01-04 17:46:47 +0100
committerChristian Göttsche <cgzones@googlemail.com>2024-01-04 17:46:47 +0100
commit921386390effa5484fd11c7d36c1dfa84fd608a6 (patch)
tree355880e093a5538429b3e8a68d114a7aa4acf69c /tests
parent4f0cf2eb43c73080789579f060a327d3d90fb0dc (diff)
downloadpam-921386390effa5484fd11c7d36c1dfa84fd608a6.tar.gz
pam-921386390effa5484fd11c7d36c1dfa84fd608a6.tar.bz2
pam-921386390effa5484fd11c7d36c1dfa84fd608a6.zip
pam_timestamp: fix condition order
Check the array index first before dereferencing the array. Also convert the index type to size_t to avoid casting. Reported by cppcheck.
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions