-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
KCM: sss_iobuf_init_empty() shall not zero memory
sss_iobuf_init_empty() and related functions zero the allocated memory even though it is not needed. Most of the time, all the fields in the structures will be set to non-zero values. In these cases zeroing the is useless and we stop doing it. Only in two cases, some pointers were being left unmodified, so they are now being manually set to NULL. Resolves: SSSD#7014
- Loading branch information
Showing
2 changed files
with
4 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters