Skip to content

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

Open
iadcode wants to merge 1 commit intoMahdiSafsafi:masterfrom
integrated-application-development:fix-source-location-overflow
Open

Fix issue where the number of source location could overflow#17
iadcode wants to merge 1 commit intoMahdiSafsafi:masterfrom
integrated-application-development:fix-source-location-overflow

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.

1 participant