1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-23 09:57:40 +03:00
Andreas Schneider 941b5663ca 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)
2018-06-25 21:47:19 +02:00
..
2011-10-12 22:45:53 +02:00
2017-02-22 08:26:22 +01:00
2016-11-23 13:00:21 +01:00
2017-01-22 18:30:11 +01:00
2017-12-05 00:56:12 +01:00
2017-01-22 18:30:11 +01:00
2015-01-19 06:48:05 +01:00