URL:
https://github.com/SSSD/sssd/pull/1009
Author: noelpower
Title: #1009: Use ndr_pull_steal_switch_value for modern samba versions
Action: opened
PR body:
"""
commit bc56b10aea999284458dcc293b54cf65288e325d attempted to
fix the build error resulting from removal of 'ndr_pull_get_switch'
However this just basically leaves the old code in place, the
reason for the change in the samba code was to address a possible
NDR crash from possible illegal large array allocations, please
see
https://bugzilla.samba.org/show_bug.cgi?id=13876
This change uses the new replacement method
'ndr_pull_steal_switch_value' if available and otherwise puts
back the old method (which better describes what the code is doing)
Signed-off-by: Noel Power <noel.power(a)suse.com>
"""
To pull the PR as Git branch:
git remote add ghsssd
https://github.com/SSSD/sssd
git fetch ghsssd pull/1009/head:pr1009
git checkout pr1009