[wesnoth-commits] [wesnoth/wesnoth] 93e4df: Fix #6389.

Pentarctagon noreply at github.com
Sun Mar 13 16:46:30 UTC 2022


  Branch: refs/heads/1.16
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 93e4dfc356af02267bbe3cfd549f4482d3d1092d
      https://github.com/wesnoth/wesnoth/commit/93e4dfc356af02267bbe3cfd549f4482d3d1092d
  Author: Pentarctagon <pentarctagon at tutamail.com>
  Date:   2022-03-13 (Sun, 13 Mar 2022)

  Changed paths:
    M src/addon/state.cpp

  Log Message:
  -----------
  Fix #6389.

Previously this code assumed that all add-ons would have a _server.pbl or an _info.cfg. When neither was the case, it tried to dereference the begin() of an empty set, causing the crash.





More information about the Commits mailing list