Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Fix #2067 #2447
See this comment for some more detail on how I came up with this: #2067 (comment)
The tests were a bit of a challenge as it was easy to screw up the repro by "simplifying" it. It's a very subtle bug that's hard to repro.
Motivation and Context
How Has This Been Tested?
Wrote the tests, made sure they failed with the patch commented out, and made sure they then succeeded after the patch.
Types of changes