mirror of
https://github.com/samba-team/samba.git
synced 2025-01-10 01:18:15 +03:00
a18d6bdaa5
BUG: https://bugzilla.samba.org/show_bug.cgi?id=14699
[3548/3991] Compiling source3/winbindd/winbindd_pam.c
../../source3/winbindd/winbindd_pam.c: In function ‘winbindd_dual_pam_auth_cached’:
../../source3/winbindd/winbindd_pam.c:1069:18: error: ‘winbindd_get_creds’ accessing 128 bytes in a region of size 8 [-Werror=stringop-overflow=]
1069 | result = winbindd_get_creds(domain,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
1070 | state->mem_ctx,
| ~~~~~~~~~~~~~~~
1071 | &sid,
| ~~~~~
1072 | &my_info3,
| ~~~~~~~~~~
1073 | &cached_nt_pass,
| ~~~~~~~~~~~~~~~~
1074 | &cached_salt);
| ~~~~~~~~~~~~~
../../source3/winbindd/winbindd_pam.c:1069:18: note: referencing argument 5 of type ‘const uint8_t **’ {aka ‘const unsigned char **’}
../../source3/winbindd/winbindd_pam.c:1069:18: error: ‘winbindd_get_creds’ accessing 128 bytes in a region of size 8 [-Werror=stringop-overflow=]
../../source3/winbindd/winbindd_pam.c:1069:18: note: referencing argument 6 of type ‘const uint8_t **’ {aka ‘const unsigned char **’}
In file included from ../../source3/winbindd/winbindd.h:359,
from ../../source3/winbindd/winbindd_pam.c:26:
../../source3/winbindd/winbindd_proto.h:251:10: note: in a call to function ‘winbindd_get_creds’
251 | NTSTATUS winbindd_get_creds(struct winbindd_domain *domain,
| ^~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
Guenther
Signed-off-by: Guenther Deschner <gd@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
(cherry picked from commit
|
||
---|---|---|
.. | ||
idmap_hash | ||
idmap_ad_nss.c | ||
idmap_ad.c | ||
idmap_autorid_tdb.c | ||
idmap_autorid.c | ||
idmap_ldap.c | ||
idmap_nss.c | ||
idmap_passdb.c | ||
idmap_proto.h | ||
idmap_rfc2307.c | ||
idmap_rid.c | ||
idmap_rw.c | ||
idmap_rw.h | ||
idmap_script.c | ||
idmap_tdb2.c | ||
idmap_tdb_common.c | ||
idmap_tdb_common.h | ||
idmap_tdb.c | ||
idmap_util.c | ||
idmap.c | ||
nss_info_template.c | ||
nss_info.c | ||
wb_dsgetdcname.c | ||
wb_getgrsid.c | ||
wb_getpwsid.c | ||
wb_gettoken.c | ||
wb_group_members.c | ||
wb_lookupname.c | ||
wb_lookupsid.c | ||
wb_lookupsids.c | ||
wb_lookupuseraliases.c | ||
wb_lookupusergroups.c | ||
wb_next_grent.c | ||
wb_next_pwent.c | ||
wb_query_group_list.c | ||
wb_query_user_list.c | ||
wb_queryuser.c | ||
wb_seqnum.c | ||
wb_seqnums.c | ||
wb_sids2xids.c | ||
wb_xids2sids.c | ||
winbindd_ads.c | ||
winbindd_ads.h | ||
winbindd_allocate_gid.c | ||
winbindd_allocate_uid.c | ||
winbindd_async.c | ||
winbindd_cache.c | ||
winbindd_ccache_access.c | ||
winbindd_change_machine_acct.c | ||
winbindd_check_machine_acct.c | ||
winbindd_cm.c | ||
winbindd_cred_cache.c | ||
winbindd_creds.c | ||
winbindd_domain_info.c | ||
winbindd_domain.c | ||
winbindd_dsgetdcname.c | ||
winbindd_dual_ndr.c | ||
winbindd_dual_srv.c | ||
winbindd_dual.c | ||
winbindd_endgrent.c | ||
winbindd_endpwent.c | ||
winbindd_getdcname.c | ||
winbindd_getgrent.c | ||
winbindd_getgrgid.c | ||
winbindd_getgrnam.c | ||
winbindd_getgroups.c | ||
winbindd_getpwent.c | ||
winbindd_getpwnam.c | ||
winbindd_getpwsid.c | ||
winbindd_getpwuid.c | ||
winbindd_getsidaliases.c | ||
winbindd_getuserdomgroups.c | ||
winbindd_getusersids.c | ||
winbindd_gpupdate.c | ||
winbindd_group.c | ||
winbindd_idmap.c | ||
winbindd_irpc.c | ||
winbindd_list_groups.c | ||
winbindd_list_users.c | ||
winbindd_locator.c | ||
winbindd_lookupname.c | ||
winbindd_lookuprids.c | ||
winbindd_lookupsid.c | ||
winbindd_lookupsids.c | ||
winbindd_misc.c | ||
winbindd_msrpc.c | ||
winbindd_ndr.c | ||
winbindd_pam_auth_crap.c | ||
winbindd_pam_auth.c | ||
winbindd_pam_chauthtok.c | ||
winbindd_pam_chng_pswd_auth_crap.c | ||
winbindd_pam_logoff.c | ||
winbindd_pam.c | ||
winbindd_ping_dc.c | ||
winbindd_proto.h | ||
winbindd_reconnect_ads.c | ||
winbindd_reconnect.c | ||
winbindd_rpc.c | ||
winbindd_rpc.h | ||
winbindd_samr.c | ||
winbindd_setgrent.c | ||
winbindd_setpwent.c | ||
winbindd_show_sequence.c | ||
winbindd_sids_to_xids.c | ||
winbindd_util.c | ||
winbindd_wins_byip.c | ||
winbindd_wins_byname.c | ||
winbindd_xids_to_sids.c | ||
winbindd.c | ||
winbindd.h | ||
wscript_build |