Skip to content

FSMonitor v2: fix another fall-out of since_token being potentially NULL #3258

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 7, 2021

Conversation

dscho
Copy link
Member

@dscho dscho commented Jun 7, 2021

I should have looked much more closely when crafting #3241: there was one other instance where since_token was not expected to be NULL: the Trace2 call. This only showed up in Scalar's Functional Tests because it created the situation where a new Git index is initialized (obviously, without a valid FSMonitor token) and all of the Trace2 knobs are turned on.

Another instance where `since_token` was expected to be non-`NULL`, but
apparently it is quite possible, as demonstrated by Scalar's Functional
Test suite.

Signed-off-by: Johannes Schindelin <[email protected]>
@dscho dscho merged commit 588e88d into git-for-windows:main Jun 7, 2021
@dscho dscho deleted the fix-another-fsmonitor-segfault branch June 7, 2021 11:09
@dscho dscho added this to the Next release milestone Jun 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants