mirror of
https://github.com/samba-team/samba.git
synced 2024-12-25 23:21:54 +03:00
9b6dc8f504
../source3/utils/smbpasswd.c: In function ‘process_root’: ../source3/utils/smbpasswd.c:414:37: error: ‘$’ directive output may be truncated writing 1 byte into a region of size between 0 and 255 [-Werror=format-truncation=] slprintf(buf, sizeof(buf) - 1, "%s$", user_name); ^ In file included from ../source3/include/includes.h:23, from ../source3/utils/smbpasswd.c:19: ../lib/replace/../replace/replace.h:514:18: note: ‘snprintf’ output between 2 and 257 bytes into a destination of size 255 #define slprintf snprintf ../source3/utils/smbpasswd.c:414:3: note: in expansion of macro ‘slprintf’ slprintf(buf, sizeof(buf) - 1, "%s$", user_name); ^~~~~~~~ ../source3/utils/smbpasswd.c:397:35: error: ‘$’ directive output may be truncated writing 1 byte into a region of size between 0 and 255 [-Werror=format-truncation=] slprintf(buf, sizeof(buf)-1, "%s$", user_name); ^ In file included from ../source3/include/includes.h:23, from ../source3/utils/smbpasswd.c:19: ../lib/replace/../replace/replace.h:514:18: note: ‘snprintf’ output between 2 and 257 bytes into a destination of size 255 #define slprintf snprintf ../source3/utils/smbpasswd.c:397:3: note: in expansion of macro ‘slprintf’ slprintf(buf, sizeof(buf)-1, "%s$", user_name); ^~~~~~~~ cc1: some warnings being treated as errors BUG: https://bugzilla.samba.org/show_bug.cgi?id=13437 Pair-Programmed-With: Andreas Schneider <asn@samba.org> Signed-off-by: Guenther Deschner <gd@samba.org> Signed-off-by: Andreas Schneider <asn@samba.org> |
||
---|---|---|
.. | ||
dbwrap_tool.c | ||
dbwrap_torture.c | ||
debug2html.c | ||
debugparse.c | ||
destroy_netlogon_creds_cli.c | ||
eventlogadm.c | ||
interact.c | ||
interact.h | ||
log2pcaphex.c | ||
mvxattr.c | ||
net_ads_gpo.c | ||
net_ads.c | ||
net_afs.c | ||
net_afs.h | ||
net_cache.c | ||
net_conf_util.c | ||
net_conf_util.h | ||
net_conf.c | ||
net_dns.c | ||
net_dns.h | ||
net_dom.c | ||
net_eventlog.c | ||
net_file.c | ||
net_g_lock.c | ||
net_group.c | ||
net_groupmap.c | ||
net_help_common.c | ||
net_help_common.h | ||
net_help.c | ||
net_idmap_check.c | ||
net_idmap_check.h | ||
net_idmap.c | ||
net_join.c | ||
net_lookup.c | ||
net_notify.c | ||
net_printing.c | ||
net_proto.h | ||
net_rap.c | ||
net_registry_check.c | ||
net_registry_check.h | ||
net_registry_util.c | ||
net_registry_util.h | ||
net_registry.c | ||
net_rpc_audit.c | ||
net_rpc_conf.c | ||
net_rpc_printer.c | ||
net_rpc_registry.c | ||
net_rpc_rights.c | ||
net_rpc_samsync.c | ||
net_rpc_service.c | ||
net_rpc_sh_acct.c | ||
net_rpc_shell.c | ||
net_rpc_trust.c | ||
net_rpc.c | ||
net_sam.c | ||
net_serverid.c | ||
net_share.c | ||
net_status.c | ||
net_tdb.c | ||
net_time.c | ||
net_user.c | ||
net_usershare.c | ||
net_util.c | ||
net.c | ||
net.h | ||
netlookup.c | ||
nmblookup.c | ||
ntlm_auth_diagnostics.c | ||
ntlm_auth_proto.h | ||
ntlm_auth.c | ||
ntlm_auth.h | ||
passwd_proto.h | ||
passwd_util.c | ||
pdbedit.c | ||
profiles.c | ||
regedit_dialog.c | ||
regedit_dialog.h | ||
regedit_hexedit.c | ||
regedit_hexedit.h | ||
regedit_list.c | ||
regedit_list.h | ||
regedit_samba3.c | ||
regedit_treeview.c | ||
regedit_treeview.h | ||
regedit_valuelist.c | ||
regedit_valuelist.h | ||
regedit_wrap.c | ||
regedit.c | ||
regedit.h | ||
sharesec.c | ||
smbcacls.c | ||
smbcontrol.c | ||
smbcquotas.c | ||
smbfilter.c | ||
smbget.c | ||
smbpasswd.c | ||
smbtree.c | ||
split_tokens.c | ||
status_profile_dummy.c | ||
status_profile.c | ||
status_profile.h | ||
status.c | ||
testparm.c | ||
wscript_build |