[Freeciv-tickets] [freeciv] #44987: dai_is_unit_tired_waiting_boat() NULL dereference when unit has no homecity

Zurück zum Archiv-Index
OSDN Ticket System norep****@osdn*****
Wed Jul 6 14:39:54 JST 2022


#44987: dai_is_unit_tired_waiting_boat() NULL dereference when unit has no homecity

  Open Date: 2022-07-03 08:51
Last Update: 2022-07-06 08:39

URL for this Ticket:
    https://osdn.net//projects/freeciv/ticket/44987
RSS feed for this Ticket:
    https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=44987

---------------------------------------------------------------------

Last Changes/Comment on this Ticket:
2022-07-06 08:39 Updated by: cazfi
 * Status Update from Open to Closed
 * Resolution Update from Accepted to Fixed


---------------------------------------------------------------------
Ticket Status:

      Reporter: cazfi
         Owner: cazfi
          Type: Bugs
        Status: Closed
      Priority: 5 - Medium
     MileStone: 3.0.3
     Component: AI
      Severity: 5 - Medium
    Resolution: Fixed
---------------------------------------------------------------------

Ticket details:

dai_is_unit_tired_waiting_boat() has : "if (tile_continent(src) != tile_continent(src_home_city))" where src_home_city might be NULL. tile_continent() is just a macro that does not check it's parameter.


-- 
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/44987
RSS feed for this Ticket:
    https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=44987



More information about the Freeciv-tickets mailing list
Zurück zum Archiv-Index