#46292: save_action_ui_name() has potential strcmp(NULL ...) call Open Date: 2022-12-16 14:15 Last Update: 2022-12-16 14:15 URL for this Ticket: https://osdn.net//projects/freeciv/ticket/46292 RSS feed for this Ticket: https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=46292 --------------------------------------------------------------------- Last Changes/Comment on this Ticket: 2022-12-16 14:15 Updated by: cazfi * New Ticket "save_action_ui_name() has potential strcmp(NULL ...) call" created --------------------------------------------------------------------- Ticket Status: Reporter: cazfi Owner: (None) Type: Bugs Status: Open Priority: 5 - Medium MileStone: 3.0.6 Component: Ruledit and ruleup Severity: 5 - Medium Resolution: None --------------------------------------------------------------------- Ticket details: save_action_ui_name() does not check if ui_name for the action is NULL, but passes it to strcmp(). Makes clang analyzer to complain. -- 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/46292 RSS feed for this Ticket: https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=46292