[Commits] [wesnoth/wesnoth] 431b42: Partial revert of e41a415588 to fix potential bad_...

GitHub noreply at github.com
Thu May 11 08:14:34 UTC 2017


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 431b4225b6442749a3ec9f101c9b70d6bab95da0
      https://github.com/wesnoth/wesnoth/commit/431b4225b6442749a3ec9f101c9b70d6bab95da0
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2017-05-11 (Thu, 11 May 2017)

  Changed paths:
    M src/animated.tpp

  Log Message:
  -----------
  Partial revert of e41a415588 to fix potential bad_alloc / memory corruption


  Commit: 33792a3b1e7346bff7806505ebcfad8674305049
      https://github.com/wesnoth/wesnoth/commit/33792a3b1e7346bff7806505ebcfad8674305049
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2017-05-11 (Thu, 11 May 2017)

  Changed paths:
    M src/formula/formula.cpp
    M src/formula/formula.hpp

  Log Message:
  -----------
  Revert "Address potential memleak during WFL parsing (#1680)"

This reverts commits 61ec2d0008 and 8f6a0830ee

opens #1680


  Commit: 7b13d6ca335037154177dd3ba957a8975eac8baf
      https://github.com/wesnoth/wesnoth/commit/7b13d6ca335037154177dd3ba957a8975eac8baf
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2017-05-11 (Thu, 11 May 2017)

  Changed paths:
    M src/formula/formula.cpp
    M src/formula/formula.hpp

  Log Message:
  -----------
  Fix memleak during WFL parsing (fixes #1680, fixes #1685)


  Commit: 6efc5ae0909e3c9be514e37104aa5b36d33c6e4c
      https://github.com/wesnoth/wesnoth/commit/6efc5ae0909e3c9be514e37104aa5b36d33c6e4c
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2017-05-11 (Thu, 11 May 2017)

  Changed paths:
    M data/ai/lua/ai_helper.lua
    M data/ai/lua/battle_calcs.lua
    M data/ai/lua/ca_high_xp_attack.lua
    M data/ai/lua/generic_recruit_engine.lua
    M data/ai/lua/generic_rush_engine.lua
    M data/ai/micro_ais/cas/ca_big_animals.lua
    M data/ai/micro_ais/cas/ca_bottleneck_move.lua
    M data/ai/micro_ais/cas/ca_coward.lua
    M data/ai/micro_ais/cas/ca_fast_attack_utils.lua
    M data/ai/micro_ais/cas/ca_fast_combat_leader.lua
    M data/ai/micro_ais/cas/ca_fast_move.lua
    M data/ai/micro_ais/cas/ca_forest_animals_move.lua
    M data/ai/micro_ais/cas/ca_forest_animals_tusker_attack.lua
    M data/ai/micro_ais/cas/ca_forest_animals_tusklet_move.lua
    M data/ai/micro_ais/cas/ca_goto.lua
    M data/ai/micro_ais/cas/ca_hang_out.lua
    M data/ai/micro_ais/cas/ca_healer_move.lua
    M data/ai/micro_ais/cas/ca_herding_attack_close_enemy.lua
    M data/ai/micro_ais/cas/ca_herding_dog_move.lua
    M data/ai/micro_ais/cas/ca_herding_herd_sheep.lua
    M data/ai/micro_ais/cas/ca_herding_sheep_runs_dog.lua
    M data/ai/micro_ais/cas/ca_herding_sheep_runs_enemy.lua
    M data/ai/micro_ais/cas/ca_hunter.lua
    M data/ai/micro_ais/cas/ca_messenger_attack.lua
    M data/ai/micro_ais/cas/ca_messenger_escort_move.lua
    M data/ai/micro_ais/cas/ca_messenger_f_next_waypoint.lua
    M data/ai/micro_ais/cas/ca_protect_unit_move.lua
    M data/ai/micro_ais/cas/ca_stationed_guardian.lua
    M data/ai/micro_ais/cas/ca_swarm_move.lua
    M data/ai/micro_ais/cas/ca_swarm_scatter.lua
    M data/ai/micro_ais/cas/ca_wolves_move.lua
    M data/ai/micro_ais/cas/ca_wolves_multipacks_attack.lua
    M data/ai/micro_ais/cas/ca_wolves_multipacks_functions.lua
    M data/ai/micro_ais/cas/ca_wolves_multipacks_wander.lua
    M data/ai/micro_ais/cas/ca_wolves_wander.lua
    M data/ai/micro_ais/cas/ca_zone_guardian.lua
    M data/campaigns/Eastern_Invasion/ai/ca_ogres_flee.lua
    M data/campaigns/Son_Of_The_Black_Eye/ai/ca_transport_S6.lua
    M data/lua/wml/find_path.lua
    M data/lua/wml/random_placement.lua

  Log Message:
  -----------
  Replace helper.distance_between -> wesnoth.map.distance_between (fixes #1686)


Compare: https://github.com/wesnoth/wesnoth/compare/61ec2d000898...6efc5ae0909e


More information about the Commits mailing list