s3: smbd: msdfs: Cleanup, don't mix int and size_t types for a count variable.
authorJeremy Allison <jra@samba.org>
Fri, 13 Dec 2019 17:39:55 +0000 (09:39 -0800)
committerRalph Boehme <slow@samba.org>
Mon, 16 Dec 2019 14:05:33 +0000 (14:05 +0000)
commit2048ff3adc4dbff659dfb5d747f0cb93baad06ee
tree3bbdef27138a9b5f17eb2cd29202efbd7cb4e291
parent48ed60d7fd0b567c2450020b8ccaa2c6ff8913e3
s3: smbd: msdfs: Cleanup, don't mix int and size_t types for a count variable.

Add integer wrap check.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
source3/smbd/msdfs.c