s3:nmbd: Fix possible integer overflow
authorAndreas Schneider <asn@samba.org>
Thu, 7 Dec 2017 14:24:59 +0000 (15:24 +0100)
committerJeremy Allison <jra@samba.org>
Tue, 20 Mar 2018 22:16:16 +0000 (23:16 +0100)
commit3a383038ee7f74e5a9d2326a761b27950a14eb83
tree18b33cf89daae7273331257b6f8035cefe49704d
parentf866844f44c3a9246076aa950148e994809d4b1b
s3:nmbd: Fix possible integer overflow

This fixes compilation with -Wstrict-overflow=2

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