#44833: gtk: popup_add_menu() calls qsort(NULL... ) Open Date: 2022-06-14 19:55 Last Update: 2022-06-14 19:55 URL for this Ticket: https://osdn.net//projects/freeciv/ticket/44833 RSS feed for this Ticket: https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=44833 --------------------------------------------------------------------- Last Changes/Comment on this Ticket: 2022-06-14 19:55 Updated by: cazfi * New Ticket "gtk: popup_add_menu() calls qsort(NULL... )" created --------------------------------------------------------------------- Ticket Status: Reporter: cazfi Owner: (None) Type: Bugs Status: Open Priority: 5 - Medium MileStone: 3.0.3 Component: Gtk3.22-client Severity: 5 - Medium Resolution: None --------------------------------------------------------------------- Ticket details: gtk3.22 diplodlg.c:popup_add_menu() sets city_list_ptrs to NULL if giver has no cities at all. Regardless, later there's qsort(city_list_ptrs...) call. -- 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/44833 RSS feed for this Ticket: https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=44833