[wesnoth-commits] [wesnoth/wesnoth] c10582: Fix #6389.

Pentarctagon noreply at github.com
Sun Mar 13 16:48:40 UTC 2022


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: c1058215e526dcb439ea492753fc8b560b576621
      https://github.com/wesnoth/wesnoth/commit/c1058215e526dcb439ea492753fc8b560b576621
  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