summaryrefslogtreecommitdiffstats
path: root/sys/sys
diff options
context:
space:
mode:
authorpfg <pfg@FreeBSD.org>2017-05-01 00:42:31 +0000
committerpfg <pfg@FreeBSD.org>2017-05-01 00:42:31 +0000
commit57723a7d7f1db867d4acce11b84c8389cefc9acd (patch)
tree7e22a571e38438826731a08c4febf22fca23a9dc /sys/sys
parentc7be2cfcb200eaf9324a541bcef416e4aa947809 (diff)
downloadFreeBSD-src-57723a7d7f1db867d4acce11b84c8389cefc9acd.zip
FreeBSD-src-57723a7d7f1db867d4acce11b84c8389cefc9acd.tar.gz
MFC r317372:
scandir(3): promote arraysz to size_t to match numitems. The internal array size goes through a loop and is compared with numitems which at its limits makes can be unreachably higher than arraysz. Prevent an hypothetical overflow, and signed/unsigned comparison, by matching the types.
Diffstat (limited to 'sys/sys')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud