wolfpld / tracy

Frame profiler
https://tracy.nereid.pl/
Other
8.61k stars 592 forks source link

Fix worker AddSourceLocationPayload source file string length calculation #817

Closed M4T1A5 closed 1 week ago

M4T1A5 commented 1 week ago

Fixes incorrect length calculation for the source file string, which would lead to the source file string being completely wrong and the StoreString would have an overflowed size if the file name is longer than the function name.