[Commits] [wesnoth/wesnoth] d20f80: Use looks_like_pbl() to disallow .pbl file inclusi...

GitHub noreply at github.com
Wed Jun 17 02:24:59 UTC 2015


  Branch: refs/heads/1.10
  Home:   https://github.com/wesnoth/wesnoth
  Commit: d20f8015bc3653a10d6d4dfd751e62651d1180b7
      https://github.com/wesnoth/wesnoth/commit/d20f8015bc3653a10d6d4dfd751e62651d1180b7
  Author: Ignacio R. Morelle <shadowm at wesnoth.org>
  Date:   2015-06-16 (Tue, 16 Jun 2015)

  Changed paths:
    M changelog
    M players_changelog
    M src/filesystem.cpp

  Log Message:
  -----------
  Use looks_like_pbl() to disallow .pbl file inclusion (bug #23504)

This function is implemented using case-insensitive pattern matching,
unlike filesystem::ends_with(). I missed this when writing my original
fix, so the vulnerability still applied to .pbl files on a
case-insensitive filesystem (e.g. NTFS and FAT* on Windows) by using
different case to bypass the check.


  Commit: 703819335d06649082c58a74e839dfe2273783d4
      https://github.com/wesnoth/wesnoth/commit/703819335d06649082c58a74e839dfe2273783d4
  Author: Ignacio R. Morelle <shadowm at wesnoth.org>
  Date:   2015-06-16 (Tue, 16 Jun 2015)

  Changed paths:
    M changelog
    M players_changelog

  Log Message:
  -----------
  Update changelogs for bug #23440


Compare: https://github.com/wesnoth/wesnoth/compare/055fea16479a...703819335d06


More information about the Commits mailing list