[wesnoth-commits] [wesnoth/wesnoth] c51034: fix segfault on area= filter.

GitHub noreply at github.com
Sat Apr 21 18:57:17 UTC 2018


  Branch: refs/heads/1.14
  Home:   https://github.com/wesnoth/wesnoth
  Commit: c510340ed22f3d4acc15d89808c0309e85e8f062
      https://github.com/wesnoth/wesnoth/commit/c510340ed22f3d4acc15d89808c0309e85e8f062
  Author: gfgtdf <daniel.gfgtdf at gmail.com>
  Date:   2018-04-21 (Sat, 21 Apr 2018)

  Changed paths:
    M src/tod_manager.cpp

  Log Message:
  -----------
  fix segfault on area= filter.

areas_ might be empty, so areas_[0] might crash, also returning areas_[0].hexes didn't really make sense in the first place




More information about the Commits mailing list