Skip to content

fix seq points assert check read on in mono#124563

Closed
FixBo wants to merge 1 commit into
dotnet:mainfrom
FixBo:patch-1
Closed

fix seq points assert check read on in mono#124563
FixBo wants to merge 1 commit into
dotnet:mainfrom
FixBo:patch-1

Conversation

@FixBo

@FixBo FixBo commented Feb 18, 2026

Copy link
Copy Markdown
Contributor

fread returns the number of elements read, not the number of bytes.
So the check of g_assert (len == fsize is incorrect

@dotnet-policy-service dotnet-policy-service Bot added the community-contribution Indicates that the PR has been added by a community member label Feb 18, 2026
@FixBo FixBo changed the title fix seq points read in mono fix seq points assert check read in mono Feb 18, 2026
@FixBo FixBo changed the title fix seq points assert check read in mono fix seq points assert check read on in mono Feb 18, 2026
@FixBo

FixBo commented Feb 18, 2026

Copy link
Copy Markdown
Contributor Author

@am11

@am11

am11 commented Feb 18, 2026

Copy link
Copy Markdown
Member

Good catch. It was originally added 11 years ago mono/mono@91553a5 (I only fixed warning previously, didn't changed the order).

@steveisok

Copy link
Copy Markdown
Member

@FixBo I appreciate the contribution. The fix is definitely reasonable and one under regular conditions would go in easily. We have set the bar very high for mono fixes and unfortunately, we won't be able to take this change.

@steveisok steveisok closed this Mar 23, 2026
@github-actions github-actions Bot locked and limited conversation to collaborators Apr 23, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

area-VM-meta-mono community-contribution Indicates that the PR has been added by a community member

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants