[Commits] [wesnoth/wesnoth] ab49e3: fix uninitialized rng seed (reported by valgrind)
GitHub
noreply at github.com
Tue Apr 7 01:29:07 UTC 2015
Branch: refs/heads/master
Home: https://github.com/wesnoth/wesnoth
Commit: ab49e328b9386388a30b71c641f868ae0626c524
https://github.com/wesnoth/wesnoth/commit/ab49e328b9386388a30b71c641f868ae0626c524
Author: Chris Beck <render787 at gmail.com>
Date: 2015-04-06 (Mon, 06 Apr 2015)
Changed paths:
M src/mt_rng.cpp
Log Message:
-----------
fix uninitialized rng seed (reported by valgrind)
This probably didn't happen in practice or we would notice I think,
but it happened because of a failure to check stringstream failing
to parse a string to hex.
Commit: c10ddf275e16c7eae9f30d45eeb49f6055084561
https://github.com/wesnoth/wesnoth/commit/c10ddf275e16c7eae9f30d45eeb49f6055084561
Author: Chris Beck <render787 at gmail.com>
Date: 2015-04-06 (Mon, 06 Apr 2015)
Changed paths:
M src/game_display.cpp
M src/mt_rng.cpp
Log Message:
-----------
fix uninitialized failure
caught by valgrind (probably inconsequential though)
Compare: https://github.com/wesnoth/wesnoth/compare/29c99fe8705a...c10ddf275e16
More information about the Commits
mailing list