diff options
author | Andreas Schneider <asn@samba.org> | 2018-06-18 10:43:53 +0200 |
---|---|---|
committer | Karolin Seeger <kseeger@samba.org> | 2018-06-25 21:47:19 +0200 |
commit | 941b5663ca9cdbd347d8f65d6c92f4a3f36ed31a (patch) | |
tree | a95d7675bd9fcc9001a7379f5a98cf7f0ecba1bb /source4/dsdb | |
parent | 5f2859e958e110952b73b785975420a350497cc8 (diff) | |
download | samba-941b5663ca9cdbd347d8f65d6c92f4a3f36ed31a.tar.gz |
s3:smbget: Fix buffer truncation issues with gcc8
../source3/utils/smbget.c: In function ‘smb_download_file’:
../source3/utils/smbget.c:97:27: error: ‘b’ directive output may be truncated writing 1 byte into a region of size between 0 and 19 [-Werror=format-truncation=]
snprintf(buffer, l, "%jdb", (intmax_t)s);
^
BUG: https://bugzilla.samba.org/show_bug.cgi?id=13437
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>
(cherry picked from commit 4a3164e0beea35c1f4ce44fbe43547f7104587d1)
Diffstat (limited to 'source4/dsdb')
0 files changed, 0 insertions, 0 deletions