Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Display in data inspector ULEB128 and SLEB128 #488

Merged
merged 5 commits into from Feb 20, 2024

Conversation

jogo-
Copy link
Contributor

@jogo- jogo- commented Feb 17, 2024

Show in data inspector missing large integer formats as ULEB128 and SLEB128 (Little Endian Base 128)
Closes #485

Show in data inspector missing large integer formats as ULEB128 and SLEB128 (Little Endian Base 128)
In case of malformed LEB128
In case of malformed LEB128
connor4312
connor4312 previously approved these changes Feb 19, 2024
media/editor/dataInspectorProperties.tsx Show resolved Hide resolved
media/editor/dataInspectorProperties.tsx Outdated Show resolved Hide resolved
@connor4312 connor4312 self-requested a review February 19, 2024 05:50
@connor4312 connor4312 dismissed their stale review February 19, 2024 05:50

accidentally approved

In case of malformed SLEB128
Add bounds check for the case where the input buffer is too short and does not contain the expected final byte.
Handle this case gracefully and remove the try/catch.
@connor4312 connor4312 enabled auto-merge (squash) February 20, 2024 16:44
@VSCodeTriageBot VSCodeTriageBot added this to the February 2024 milestone Feb 20, 2024
@connor4312 connor4312 merged commit fccbe98 into microsoft:main Feb 20, 2024
4 checks passed
@jogo- jogo- deleted the patch-1 branch February 20, 2024 18:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Feature request] Add in data inspector ULEB128 and SLEB128
4 participants