You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 7, 2025. It is now read-only.
In commit 85b1c53, I introduced a new "max_len" variable, used by the
search() function to store the maximum match length found in course of
the binary search.
However, I overlooked the fact that the search() function then lost
thread safety, as "max_len" would be shared by all threads of a process
using libbsdiff.
Fix the issue by not using a global variable, instead updating "max_len"
via another pointer, just like the "pos" variable is handled already.
Signed-off-by: Patrick McCarty <patrick.mccarty@intel.com>
0 commit comments