[wesnoth-commits] [wesnoth/wesnoth] e5a040: wesnothd: avoid invalid iterator use when terminat...

Sergey Popov noreply at github.com
Sun Oct 10 15:55:07 UTC 2021


  Branch: refs/heads/1.16
  Home:   https://github.com/wesnoth/wesnoth
  Commit: e5a0400721d15c5ea3e27a16d89bb5605892e119
      https://github.com/wesnoth/wesnoth/commit/e5a0400721d15c5ea3e27a16d89bb5605892e119
  Author: loonycyborg <loonycyborg at gmail.com>
  Date:   2021-10-10 (Sun, 10 Oct 2021)

  Changed paths:
    M src/server/wesnothd/game.cpp

  Log Message:
  -----------
  wesnothd: avoid invalid iterator use when terminating game

Set game::owner_ to past-the-end iterator when game is being destroyed
to avoid comparison with invalid iterator when remove_player() is called
for other players after game host has disconnected making game::owner_
invalid.


  Commit: ca9dd3a8d8d1cc56de21bb8094735bbbc421b6d4
      https://github.com/wesnoth/wesnoth/commit/ca9dd3a8d8d1cc56de21bb8094735bbbc421b6d4
  Author: loonycyborg <loonycyborg at gmail.com>
  Date:   2021-10-10 (Sun, 10 Oct 2021)

  Changed paths:
    M src/server/wesnothd/player_connection.hpp
    M src/server/wesnothd/server.cpp

  Log Message:
  -----------
  Fix issue #2926

wesnothd: implement support for printing time for which user was connected in
/query status and /query searchlog


  Commit: 694c3fb22a1db45f07c535c70efda2e6b0b9939f
      https://github.com/wesnoth/wesnoth/commit/694c3fb22a1db45f07c535c70efda2e6b0b9939f
  Author: loonycyborg <loonycyborg at gmail.com>
  Date:   2021-10-10 (Sun, 10 Oct 2021)

  Changed paths:
    M src/server/wesnothd/server.cpp

  Log Message:
  -----------
  wesnothd: made ipv6 addresses work with /query status/searchlog


Compare: https://github.com/wesnoth/wesnoth/compare/12d4129acaa2...694c3fb22a1d



More information about the Commits mailing list