Skip to content

[C#] Fix incorrect offset type in verifier (#8937) - #8975

Open
LacoVadkerti wants to merge 2 commits into
google:masterfrom
LacoVadkerti:master
Open

LacoVadkerti wants to merge 2 commits into
google:masterfrom
LacoVadkerti:master

Conversation

@LacoVadkerti

Copy link
Copy Markdown
  • Fixed incorrect offset type in generic C# verifier code
  • Extended a unit test for detecting the issue
  • Updated C# test execution scripts

@google-cla

google-cla Bot commented Mar 12, 2026

Copy link
Copy Markdown

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

@github-actions github-actions Bot added the c# label Mar 12, 2026
@jtdavis777
jtdavis777 self-requested a review March 12, 2026 14:51
@jtdavis777 jtdavis777 linked an issue Mar 12, 2026 that may be closed by this pull request
@stefan301

Copy link
Copy Markdown
Contributor

Can someone please review this fix. The bug is real and the fix seems to be correct.
Currently all flatbuffers with any table at offset > 32k will fail to verify.

@stefan301

Copy link
Copy Markdown
Contributor

@dbaileychess

Could you please look at these PRs that want to fix the same Bug in GetVRelOffset in FlatBufferVerify.cs:

[#8975]
[#9242]
[#9312]

Thanks

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[C#] Incorrect offset type in verifier

3 participants