s3:utils: Fix buffer size for snprintf and format string
commit168bea2bb7c7f0ad215327c747fe30eb9a5f334d
authorAndreas Schneider <asn@samba.org>
Wed, 9 Aug 2017 06:37:38 +0000 (9 08:37 +0200)
committerKarolin Seeger <kseeger@samba.org>
Mon, 28 Aug 2017 09:04:14 +0000 (28 11:04 +0200)
tree132ab5bb262f50194c77984df9554a636a703f11
parent3b9c9f070c04b9c4e2d97995f4abf0e1abdd6dc8
s3:utils: Fix buffer size for snprintf and format string

GCC 7.1 produces an error:
‘snprintf’ output between 47 and 66 bytes into a destination of size 40

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

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
Autobuild-User(master): Ralph Böhme <slow@samba.org>
Autobuild-Date(master): Wed Aug  9 13:37:47 CEST 2017 on sn-devel-144

(cherry picked from commit b86f44cbd0b1fcaf39c9edec764ecef2fd6a863b)
source3/utils/status_profile.c