[parrot/parrot] b20475: [TT #1589] Remove "." from default search paths IN...

GitHub noreply at github.com
Wed Dec 19 15:53:18 UTC 2012

  Branch: refs/heads/tt1589_library_path
  Home:   https://github.com/parrot/parrot
  Commit: b204751cc7096e69f2d203633afdfcf56fb30e50
  Author: Jonathan "Duke" Leto <jonathan at leto.net>
  Date:   2012-12-19 (Wed, 19 Dec 2012)

  Changed paths:
    M src/library.c
    A t/library/dont_load_me.pir
    A t/library/lib_search_path.t

  Log Message:
  [TT #1589] Remove "." from default search paths INCLUDE, LIBRARY and LANG

Apply patch from soh_cah_toa++ with small tweaks and an extra test.

Before "." was at the top of the search paths, which implied a security risk.

The other possibility from [GH #368] would be to add "." to the end of the
search paths.

Test that . is not in the library search path, and that runtime/parrot/dynext
is searched.
TODO: Deprecation, docs.

More information about the parrot-commits mailing list