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

Fix issue where the number of source location could overflow #17

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

iadcode
Copy link

@iadcode iadcode commented Apr 30, 2021

In smap file headers, the number of source locations is a 2-byte integer.
In projects with more than 65,535 source locations, this can cause incorrect filenames to appear in stack traces.

This PR changes TSMapHeader.NumberOfSourceLocations from a Word to a DWORD.

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.

None yet

1 participant