[Commits] [wesnoth/wesnoth] a2404c: Ensure var_end is not beyond res.end()

GitHub noreply at github.com
Sat Oct 10 04:52:23 UTC 2015


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: a2404cad011577f3da2ef4d6d311dc1b4ceafd9d
      https://github.com/wesnoth/wesnoth/commit/a2404cad011577f3da2ef4d6d311dc1b4ceafd9d
  Author: Wedge009 <wedge009 at wedge009.net>
  Date:   2015-10-10 (Sat, 10 Oct 2015)

  Changed paths:
    M src/formula_string_utils.cpp

  Log Message:
  -----------
  Ensure var_end is not beyond res.end()

MSVC debug mode complains that var_end cannot be dereferenced if it hits the end of the string.


  Commit: b68ea239d52efc4968c40df2cfa5ab6ce629d824
      https://github.com/wesnoth/wesnoth/commit/b68ea239d52efc4968c40df2cfa5ab6ce629d824
  Author: CelticMinstrel <CelticMinstrel at users.noreply.github.com>
  Date:   2015-10-10 (Sat, 10 Oct 2015)

  Changed paths:
    M src/formula_string_utils.cpp

  Log Message:
  -----------
  Merge pull request #521 from Wedge009/msvc_debug_fix

Ensure var_end is not beyond res.end()


Compare: https://github.com/wesnoth/wesnoth/compare/cc5f614bc048...b68ea239d52e


More information about the Commits mailing list