lib: debug: Avoid negative array access.
authorJeremy Allison <jra@samba.org>
Mon, 17 Apr 2017 21:09:24 +0000 (14:09 -0700)
committerAndreas Schneider <asn@cryptomilk.org>
Tue, 18 Apr 2017 09:47:17 +0000 (11:47 +0200)
commit600f8787e3b605c9f3e8f724c726e63157ee9efc
tree6f14730b0af1f7a21f7a0a3296c8c7a31921abbf
parentbf8f7a36bfbe5c2018dbd9a317c8791c56b4114e
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>
lib/util/debug.c