URL:
https://github.com/SSSD/sssd/pull/455
Author: sumit-bose
Title: #455: mmap_cache: make checks independent of input size
Action: opened
PR body:
"""
Currently the consistency checks for the mmap_cache payload data on the
client and the responder side include the length of the input string of
the current request. Since there might be hash collisions which other
much longer or much shorter names those checks might fail although there
is no data corruption.
This patch removes the checks using the length of the input and adds a
check if the name found in the payload is zero-terminated inside of the
payload data.
Resolves
https://pagure.io/SSSD/sssd/issue/3571
"""
To pull the PR as Git branch:
git remote add ghsssd
https://github.com/SSSD/sssd
git fetch ghsssd pull/455/head:pr455
git checkout pr455