s3:locking: Fix integer overflow check in posix_lock_in_range()
authorAndreas Schneider <asn@samba.org>
Thu, 7 Dec 2017 17:24:18 +0000 (18:24 +0100)
committerJeremy Allison <jra@samba.org>
Tue, 20 Mar 2018 22:16:16 +0000 (23:16 +0100)
commit9f6de82ef25c5d7969c3986d508a138c3c4f5a64
tree4743651abd75c1cbef24ad5096653c902253eba3
parent3a383038ee7f74e5a9d2326a761b27950a14eb83
s3:locking: Fix integer overflow check in posix_lock_in_range()

This fixes compilation with -Wstrict-overflow=2

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
source3/locking/posix.c