Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
[net] Avoid possibility of NULL pointer dereference in MarkBlockAsInFlight(...) #9549
In the case that the branch ...
... is taken, there was prior to this commit an implicit assumption that
There are three calls to
This commit adds an assertion which makes the mentioned assumption explicit, and removes the possibility of a
From how I read it the assertion will never panic, but I agree this should be a nullcheck branch.
I see the two calls to