Fix binlog corruption with incorrectly serialized blob size.#9057
Fix binlog corruption with incorrectly serialized blob size.#9057filipnavara wants to merge 1 commit intodotnet:mainfrom
Conversation
|
@filipnavara @dalexsoto |
KirillOsenkov
left a comment
There was a problem hiding this comment.
Thanks so much for getting to the bottom of it!
|
As a separate PR (no need to give Filip more work), I recommend that the MSBuild team adds a unit-test that would have caught this regression (unless it's hard for some reason). |
|
I expect to do it in this PR (but our team can do it--I'm not assigning Filip more work!)--because I expect that Tactics will ask the "do you have a regression test for this?" question when we take this tomorrow. |
|
Sorry for the inconvenience. I created PR with test targeting 17.7. In the meantime, you can use |
|
Superseded by #9065. Thanks for swift action. |
Contributes to fixing dotnet/macios#18568
Context
PR #9022 introduced a bug which started incorrectly serializing blobs in .binlog format due to overlooked
longvs.intbug (https://github.com/dotnet/msbuild/pull/9022/files#r1271468212).Changes Made
Added a missing
intcast to preserve the original .binlog file format.Testing
Manually tested that the .binlog is fixed and readable by MSBuildLog viewer after this change.
Notes