Skip to content

Fix bitmask label file size overflow - #1317

Open
Jerry Gao (Sanhaoji2) wants to merge 1 commit into
jegao/LabelHotFixfrom
jegao/fix-bitmask-file-size-overflow
Open

Fix bitmask label file size overflow#1317
Jerry Gao (Sanhaoji2) wants to merge 1 commit into
jegao/LabelHotFixfrom
jegao/fix-bitmask-file-size-overflow

Conversation

@Sanhaoji2

Copy link
Copy Markdown
Contributor

Promote the point count to size_t before calculating the bitmask payload size so large valid label files are not rejected.

  • Does this PR have a descriptive title that could go in our release notes?
  • Does this PR add any new dependencies?
  • Does this PR modify any existing APIs?
  • Is the change to the API backwards compatible?
  • Should this result in any changes to our documentation, either updating existing docs or adding new ones?

Reference Issues/PRs

What does this implement/fix? Briefly explain your changes.

Any other comments?

Promote the point count to size_t before calculating the bitmask payload size so large valid label files are not rejected.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
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.

1 participant