Skip to content

fix: fix failed to parse userdata of the first tag #36

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

Merged

Conversation

shabbywu
Copy link
Contributor

@shabbywu shabbywu commented Apr 20, 2025

Prerequisites

  • I have verified that there are no existing pull requests that would overlap with this pull request.
  • I have verified that I am following the guidelines as outlined in this project's contribution policy
  • I Have verified that this pull request adheres to this project's code of conduct.
  • I have written a descriptive title for this pull request.
  • I have provided appropriate test coverage were applicable.

Description

The UserData of first tag will be dropped if the doc have multiple tags.

As the doc show, USER DATA CHUNK is following the TAG Chunk, and all user data of tags are order by serial follow the tags.
Thereforce, when the programe first into the USER DATA CHUNK, the var currentUserData is actually referring the one of last tag.
So we should fix it up to the right one.

image

Related Issue Ticket Numbers

#30

@shabbywu shabbywu force-pushed the fix/tag-userdata-parse-error branch from 4b66d1b to 32247fb Compare April 20, 2025 11:04
@AristurtleDev
Copy link
Owner

Sorry for the delay @shabbywu, looked over the PR and looks good. Thanks for the fix.

@AristurtleDev AristurtleDev merged commit 7facef9 into AristurtleDev:main Jul 8, 2025
AristurtleDev added a commit that referenced this pull request Jul 8, 2025
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.

2 participants