[Commits] [wesnoth/wesnoth] 4f4131: fs: Use game data path to resolve ./ in the absenc...

GitHub noreply at github.com
Fri May 16 06:04:14 UTC 2014


  Branch: refs/heads/1.12
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 4f413130fb929b4fb48913bdadc58775f4fcc061
      https://github.com/wesnoth/wesnoth/commit/4f413130fb929b4fb48913bdadc58775f4fcc061
  Author: Ignacio R. Morelle <shadowm at wesnoth.org>
  Date:   2014-05-16 (Fri, 16 May 2014)

  Changed paths:
    M changelog
    M src/filesystem.cpp

  Log Message:
  -----------
  fs: Use game data path to resolve ./ in the absence of a current_dir

Fixes a file content disclosure bug (#22042) affecting functionality
relying on the get_wml_location() function and not passing a non-empty
value for the current_dir parameter.

See <https://gna.org/bugs/?22042> for details.

This is a candidate for the 1.10 and 1.12 branches.

(Backported from master, commit 314425ab0e57b32909d324f7d4bf213d62cbd3b5.)





More information about the Commits mailing list