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

GitHub noreply at github.com
Fri May 16 06:03:58 UTC 2014


  Branch: refs/heads/1.10
  Home:   https://github.com/wesnoth/wesnoth
  Commit: af61f9fdd15cd439da9e2fe5fa39d174c923eaae
      https://github.com/wesnoth/wesnoth/commit/af61f9fdd15cd439da9e2fe5fa39d174c923eaae
  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