#44437: rand_map_pos_filtered() calling NULL filter() Open Date: 2022-04-22 06:52 Last Update: 2022-05-08 05:06 URL for this Ticket: https://osdn.net//projects/freeciv/ticket/44437 RSS feed for this Ticket: https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=44437 --------------------------------------------------------------------- Last Changes/Comment on this Ticket: 2022-05-08 05:06 Updated by: cazfi * Owner Update from (None) to cazfi * Resolution Update from None to Accepted --------------------------------------------------------------------- Ticket Status: Reporter: cazfi Owner: cazfi Type: Bugs Status: Open [Owner assigned] Priority: 5 - Medium MileStone: 3.0.2 Component: General Severity: 5 - Medium Resolution: Accepted --------------------------------------------------------------------- Ticket details: rand_map_pos_filtered(): "The filter may be NULL if any position is okay", but there's one call of filter() without checking if it's NULL. -- 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/44437 RSS feed for this Ticket: https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=44437