lib: Apply an overflow check
authorVolker Lendecke <vl@samba.org>
Wed, 16 Nov 2016 15:53:45 +0000 (15:53 +0000)
committerJeremy Allison <jra@samba.org>
Sun, 20 Nov 2016 01:28:11 +0000 (02:28 +0100)
commit8742d239b2ee0d4dd3219c140081f722644044ae
treed84d4dbacfbbb49c3c233c47625a51242ac7a1b6
parent3a8bf0222ac163ddda07130ca10cbe602404a944
lib: Apply an overflow check

Very unlikely here, as the realloc will have failed long before, but
still I would like to check overflow.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
lib/util/util_file.c