lib: debug: Avoid negative array access.
authorJeremy Allison <jra@samba.org>
Mon, 17 Apr 2017 21:09:24 +0000 (14:09 -0700)
committerKarolin Seeger <kseeger@samba.org>
Thu, 20 Apr 2017 10:23:18 +0000 (12:23 +0200)
commit72d172434df7655620d1bee41b39ba316229cf1f
tree3f29e2d35a803bda3537142dd3c7c1e76cec154c
parent71abf1a78f55b9dc5586d43eb0af389116ee36ee
lib: debug: Avoid negative array access.

Report and patch from Hanno Böck <hanno@hboeck.de>.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=12746

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Andreas Schneider <asn@samba.org>
(cherry picked from commit 600f8787e3b605c9f3e8f724c726e63157ee9efc)
lib/util/debug.c