URL: https://github.com/SSSD/sssd/pull/5709 Title: #5709: General: Hardeninig getenv() usage
elkoniu commented: """ @mzidek-gh thank you for the answer, so suggested steps would be: 1) Implement `sss_getenv()` with two modes: talloc and classic malloc 2) Update `getenv()` usage in those 3 places using new function 3) Address all `getenv()` usages in SSSD in separated PR 4) In mentioned PR refactor code so talloc will be used everywhere instead of conventional malloc 5) Use `sss_getenv()` talloc based wrapper everywhere I am afraid only one thing - that (4) may introduce talloc dependency in some places where we do not want to have it (to confirm this theory I would need to spend some time checking the code). """ See the full comment at https://github.com/SSSD/sssd/pull/5709#issuecomment-884163506
_______________________________________________ sssd-devel mailing list -- sssd-devel@lists.fedorahosted.org To unsubscribe send an email to sssd-devel-le...@lists.fedorahosted.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedorahosted.org/archives/list/sssd-devel@lists.fedorahosted.org Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure