| |
@@ -262,7 +262,7 @@
|
| |
return ndr_pull_error(ndr, NDR_ERR_RANGE, "value out of range");
|
| |
}
|
| |
NDR_CHECK(ndr_pull_array_uint8(ndr, NDR_SCALARS, r->id_auth, 6));
|
| |
- ZERO_STRUCT(r->sub_auths);
|
| |
+ memset(&r->sub_auths, 0, sizeof(r->sub_auths));
|
| |
for (cntr_sub_auths_0 = 0;
|
| |
cntr_sub_auths_0 < r->num_auths;
|
| |
cntr_sub_auths_0++) {
|
| |
It was used just on few places and we directly call memset on many
other places
[~/sssd]$ git grep memset | grep sizeof | wc -l
97
It is not possible to compile sssd on rawhide because samba made such macros public
and it is used in
ndr.h
https://bugzilla.redhat.com/show_bug.cgi?id=1671507