[wesnoth-commits] [wesnoth/wesnoth] de6489: Fixed potential UB

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


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

  Changed paths:
    M src/server/wesnothd/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