[wesnoth-commits] [wesnoth/wesnoth] 99c7bd: Fixed potential UB

Sergey Popov noreply at github.com
Tue Jan 12 10:23:43 UTC 2021


  Branch: refs/heads/1.14
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 99c7bd321409dca961c56823f5aae4970a9299cf
      https://github.com/wesnoth/wesnoth/commit/99c7bd321409dca961c56823f5aae4970a9299cf
  Author: loonycyborg <loonycyborg at gmail.com>
  Date:   2021-01-12 (Tue, 12 Jan 2021)

  Changed paths:
    M src/server/server.cpp

  Log Message:
  -----------
  Fixed potential UB

this pointer needs to be duplicated because accepted_versions_ change
e.g. from load_config() could invalidate it





More information about the Commits mailing list