s4:ldb Use length-limited printf to avoid walking off end of strings
authorAndrew Bartlett <abartlet@samba.org>
Wed, 19 Aug 2009 03:26:34 +0000 (13:26 +1000)
committerAndrew Bartlett <abartlet@samba.org>
Fri, 21 Aug 2009 07:50:50 +0000 (17:50 +1000)
commitc49145b1ab18bd859ce925b08e9698d9218f6de8
tree5f06b9b08f977318555223b73b8c85b75638368a
parent29ef1b2325ac5b80a52abfbd30346636695f4247
s4:ldb Use length-limited printf to avoid walking off end of strings

This should ensure the debug messages do not have random characters at
their ends.

Andrew Bartlett
source4/lib/ldb/common/attrib_handlers.c