任务单 #44987

dai_is_unit_tired_waiting_boat() NULL dereference when unit has no homecity

开放日期: 2022-07-03 14:51 最后更新: 2022-07-06 14:39

报告人:
属主:
类型:
状态:
关闭
组件:
里程碑:
优先:
5 - Medium
严重性:
5 - Medium
处理结果:
Fixed
文件:
2

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.

任务单历史 (3/5 Histories)

2022-07-03 14:51 Updated by: cazfi
  • New Ticket "dai_is_unit_tired_waiting_boat() NULL dereference when unit has no homecity" created
2022-07-03 15:09 Updated by: cazfi
  • 属主 Update from (无) to cazfi
  • 处理结果 Update from to Accepted
评论

Also a S2_6 version attached

2022-07-06 14:39 Updated by: cazfi
  • 状态 Update from 开启 to 关闭
  • 处理结果 Update from Accepted to Fixed

编辑

Please login to add comment to this ticket » 登录名