[wesnoth-commits] [wesnoth/wesnoth] 64d2de: Fix wesnothd crashing when the number of mods, mod...

Pentarctagon noreply at github.com
Sun Jul 12 20:37:56 UTC 2020


  Branch: refs/heads/1.14
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 64d2de9a6df7379ba3a62b84557b7da91dfcc201
      https://github.com/wesnoth/wesnoth/commit/64d2de9a6df7379ba3a62b84557b7da91dfcc201
  Author: pentarctagon <pentarctagon at tutamail.com>
  Date:   2020-07-12 (Sun, 12 Jul 2020)

  Changed paths:
    M src/server/server.cpp

  Log Message:
  -----------
  Fix wesnothd crashing when the number of mods, mod versions, or mod source add-ons don't match.

This situation can occur either with clients that don't send those attributes at all, or if someone were to intentionally alter their client to do this.


  Commit: cdd3a2fe1c32378aafa23ba270ff31882496827a
      https://github.com/wesnoth/wesnoth/commit/cdd3a2fe1c32378aafa23ba270ff31882496827a
  Author: pentarctagon <pentarctagon at tutamail.com>
  Date:   2020-07-12 (Sun, 12 Jul 2020)

  Changed paths:
    M src/game_initialization/mp_game_utils.cpp

  Log Message:
  -----------
  Fix loading a save game erroring with "Mandatory WML child missing yet untested for".

Save games don't have the [scenario] tag. They also don't keep the `addon_id` or `addon_version` attributes, so the MAP_SOURCE_ADDON and MAP_VERSION columns will be blank in the wesnothd database for saves reloaded in MP.


  Commit: 4ec98521d75ef5048224b7fdfce3a100adc78fb8
      https://github.com/wesnoth/wesnoth/commit/4ec98521d75ef5048224b7fdfce3a100adc78fb8
  Author: pentarctagon <pentarctagon at tutamail.com>
  Date:   2020-07-12 (Sun, 12 Jul 2020)

  Changed paths:
    M src/server/mysql_prepared_statement.ipp

  Log Message:
  -----------
  Backport of a fix for building with database support on (at least) Ubuntu 20.04.

`my_bool` was removed in newer versions of mysql.


Compare: https://github.com/wesnoth/wesnoth/compare/4863490216e5...4ec98521d75e



More information about the Commits mailing list