[freeciv/freeciv] e15b34: Fix access_area_refresh() crash with nullptr tile

freeciv-commits <[email protected]>
Newsgroups gmane.games.freeciv.devel
Message-ID <freeciv/freeciv/push/refs/heads/main/[email protected]>
  Branch: refs/heads/main
  Home:   https://github.com/freeciv/freeciv
  Commit: e15b340a07f2e8f4853e8fb9d015139e6ef05e54
      https://github.com/freeciv/freeciv/commit/e15b340a07f2e8f4853e8fb9d015139e6ef05e54
  Author: Marko Lindqvist <[email protected]>
  Date:   2026-02-10 (Tue, 10 Feb 2026)

  Changed paths:
    M common/accessarea.c

  Log Message:
  -----------
  Fix access_area_refresh() crash with nullptr tile

Check that tile is not nullptr before calling tile_matches_tiledef()

See RM #1921

Signed-off-by: Marko Lindqvist <[email protected]>



To unsubscribe from these emails, change your notification settings at https://github.com/freeciv/freeciv/settings/notifications
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.