[Commits] [wesnoth/wesnoth] a2da2d: Fix bug #22745: choose_track function crashes the ...

GitHub noreply at github.com
Sat Oct 4 01:21:55 UTC 2014


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: a2da2d5fdeea50a846d2e239ec8ae3058cdf6092
      https://github.com/wesnoth/wesnoth/commit/a2da2d5fdeea50a846d2e239ec8ae3058cdf6092
  Author: LovCAPONE <lweche159 at gmail.com>
  Date:   2014-10-03 (Fri, 03 Oct 2014)

  Changed paths:
    M changelog
    M src/sound.cpp

  Log Message:
  -----------
  Fix bug #22745: choose_track function crashes the game in certain cases

In certain cases "current_track_index" can be greater than
"current_track_list.size()" thus causing an "index out of
range" error.


  Commit: 54f149150e1b07e0475303a618b4be021c934949
      https://github.com/wesnoth/wesnoth/commit/54f149150e1b07e0475303a618b4be021c934949
  Author: Ignacio R. Morelle <shadowm at wesnoth.org>
  Date:   2014-10-03 (Fri, 03 Oct 2014)

  Changed paths:
    M changelog
    M src/sound.cpp

  Log Message:
  -----------
  Merge pull request #291 from LovCAPONE/ChoseTrackBug

Fix bug #22745: choose_track function crashes the game in certain cases


Compare: https://github.com/wesnoth/wesnoth/compare/ca546300ded1...54f149150e1b


More information about the Commits mailing list