summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorEharve14 <71228603+Eharve14@users.noreply.github.com>2022-01-15 09:33:03 -0500
committerGitHub <noreply@github.com>2022-01-15 15:33:03 +0100
commit6e4588f379be0eb5b62fff65bf96aa1ca556ea96 (patch)
treefd368e86c7da174acfb1ee45aeba6a534b00b467 /src/lib
parent1daaa0b909aebdf71be36238d16dfbec83c494ed (diff)
Added check for integer overflow in get_num_images (#1397)
As discussed in pull request 1396, added a check for integer overflow. Change list: Defined num_images as unsigned int Moved the if statement to check for an empty directory to the beginning of the read directory section Added a check to see if num images would roll back to zero when incrementing.
Diffstat (limited to 'src/lib')
0 files changed, 0 insertions, 0 deletions