HostedRedmine.com has moved to the Planio platform. All logins and passwords remained the same. All users will be able to login and use Redmine just as before. "Read more...":https://support.plan.io/news/187
Actions
Bug #851728
closedadvance_name_for_player() & advance_name_by_player() return address of local variable
Start date:
Due date:
% Done:
0%
Estimated time:
Description
Reported by gcc-10 from S2_5. Other branches presumably affected. advance_name_for_player() and advance_name_by_player() may return address of local 'char buffer[]'.
Files
Updated by Marko Lindqvist over 3 years ago
- Status changed from In Progress to New
- Sprint/Milestone deleted (
2.5.12)
I think (development version of) compiler misdiagnoses the code.
Updated by Marko Lindqvist over 3 years ago
- File 0001-Refactor-code-to-avoid-gcc-10-warning.patch 0001-Refactor-code-to-avoid-gcc-10-warning.patch added
- File 0001-Refactor-code-to-avoid-gcc-10-warning.patch 0001-Refactor-code-to-avoid-gcc-10-warning.patch added
- Status changed from New to Resolved
- Sprint/Milestone changed from 2.6.2 to 2.5.12
After much playing around with the code and the compiler I'm more convinced that it's the compiler that is acting up. Still, refactoring the code to something I consider also cleaner makes the warning to go away, so it shouldn't hurt.
Updated by Marko Lindqvist over 3 years ago
- Status changed from Resolved to Closed
- Assignee set to Marko Lindqvist
Actions