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...
Bug #830116
S2_5 mapimg_generate_name() compiler warning with gcc9
Start date:
Due date:
% Done:
0%
Estimated time:
Description
../../../src/common/mapimg.c: In function ‘mapimg_generate_name’:
../../../src/common/mapimg.c:1765:7: error: ‘%s’ directive argument is null [-Werror=format-overflow=]
1765 | cat_snprintf(mapstr, sizeof(mapstr), "%s", mapimg_layer_name(layer));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
This only started happening now in both Debian Bullseye and Sid after some system update. It also happens only with S2_5 though the code in question seem identical in later branches.
History
#1
Updated by Marko Lindqvist about 3 years ago
- File 0001-Fix-gcc9-warning-in-mapimg_generate_name.patch 0001-Fix-gcc9-warning-in-mapimg_generate_name.patch added
- Status changed from New to Resolved
Fix attached, going to push to all branches
#2
Updated by Marko Lindqvist about 3 years ago
- Status changed from Resolved to Closed
- Assignee set to Marko Lindqvist