lib/base: Correct realloc() paramters, to allocate one more byte, not 1 byte
commit2c8be80a254fb8fd1d19fb305a3438d681dec704
authorAndrew Bartlett <abartlet@samba.org>
Fri, 28 Oct 2022 02:04:09 +0000 (28 15:04 +1300)
committerJeffrey Altman <jaltman@auristor.com>
Thu, 17 Nov 2022 14:42:48 +0000 (17 09:42 -0500)
tree1734ea4bf12afd95354f81d88a32069a5bac77fe
parent7b751361134b465ce7c31b319b1e4f4040cc6f1d
lib/base: Correct realloc() paramters, to allocate one more byte, not 1 byte

The entry condition here is p == pend so this is really just 1 + p - p, eg just 1.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
lib/base/json.c