#48850: gcc-14: mapimg_help() format-overflow Open Date: 2023-10-15 21:59 Last Update: 2023-10-15 22:41 URL for this Ticket: https://osdn.net//projects/freeciv/ticket/48850 RSS feed for this Ticket: https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=48850 --------------------------------------------------------------------- Last Changes/Comment on this Ticket: 2023-10-15 22:41 Updated by: cazfi * Summary Updated --------------------------------------------------------------------- Ticket Status: Reporter: cazfi Owner: cazfi Type: Bugs Status: Open [Owner assigned] Priority: 5 - Medium MileStone: 3.0.9 Component: General Severity: 5 - Medium Resolution: Accepted --------------------------------------------------------------------- Ticket details: gcc-14 development version, S3_1: ../../../src/common/mapimg.c: In function 'mapimg_help': ../../../src/common/mapimg.c:633:35: error: '%s' directive argument is null [-Werror=format-overflow=] 633 | astr_add(&str_format, "%s'%s'", separator, imageformat_name(format)); -- Ticket information of Freeciv project Freeciv Project is hosted on OSDN Project URL: https://osdn.net/projects/freeciv/ OSDN: https://osdn.net URL for this Ticket: https://osdn.net/projects/freeciv/ticket/48850 RSS feed for this Ticket: https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=48850