aboutsummaryrefslogtreecommitdiff
path: root/release/scripts
diff options
context:
space:
mode:
authorPedro F. Giffuni <pfg@FreeBSD.org>2017-04-24 14:56:41 +0000
committerPedro F. Giffuni <pfg@FreeBSD.org>2017-04-24 14:56:41 +0000
commit5f2bd3bdacc0f62ccc6cd03c9b7bfb0b9a9518dc (patch)
treea8eabafb672f123acadf5dcb9c21df0e34f38a4d /release/scripts
parentfa903e5725ccf8cfb45a87e8241497a6bb039650 (diff)
downloadsrc-5f2bd3bdacc0f62ccc6cd03c9b7bfb0b9a9518dc.tar.gz
src-5f2bd3bdacc0f62ccc6cd03c9b7bfb0b9a9518dc.zip
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 by matching the types. MFC after: 1 week
Notes
Notes: svn path=/head/; revision=317372
Diffstat (limited to 'release/scripts')
0 files changed, 0 insertions, 0 deletions