[pear/Archive_Tar] dc721b: Add testcase for relative and in-path symlink

Michiel Rook <[email protected]>
Newsgroups gmane.comp.php.cvs.pear
Message-ID <pear/Archive_Tar/push/refs/heads/master/[email protected]>
  Branch: refs/heads/master
  Home:   https://github.com/pear/Archive_Tar
  Commit: dc721bd8616e05ea89b7abcff4cf1e3e96963183
      https://github.com/pear/Archive_Tar/commit/dc721bd8616e05ea89b7abcff4cf1e3e96963183
  Author: Wolfgang Popp <[email protected]>
  Date:   2021-02-04 (Thu, 04 Feb 2021)

  Changed paths:
    A tests/relativesymlink.phpt
    A tests/relativesymlink.tar

  Log Message:
  -----------
  Add testcase for relative and in-path symlink


  Commit: b6da5c32254162fa0752616479fb3d3c5297c1cf
      https://github.com/pear/Archive_Tar/commit/b6da5c32254162fa0752616479fb3d3c5297c1cf
  Author: Wolfgang Popp <[email protected]>
  Date:   2021-02-04 (Thu, 04 Feb 2021)

  Changed paths:
    M Archive/Tar.php

  Log Message:
  -----------
  Fix out-of-path check for virtual relative symlink

A symlink is out-of-path if it is an absolute path or goes "up" too many
times. This checks how deep the filename is and whether the link points
more levels up than the depth of the filename.


  Commit: 7d8782d95f74b5889bfaaad43e74086f1918ec2b
      https://github.com/pear/Archive_Tar/commit/7d8782d95f74b5889bfaaad43e74086f1918ec2b
  Author: Michiel Rook <[email protected]>
  Date:   2021-02-04 (Thu, 04 Feb 2021)

  Changed paths:
    M Archive/Tar.php

  Log Message:
  -----------
  PHP compat fix


  Commit: 40283fb30c97733010c7d791850d2ef09a11ff94
      https://github.com/pear/Archive_Tar/commit/40283fb30c97733010c7d791850d2ef09a11ff94
  Author: Michiel Rook <[email protected]>
  Date:   2021-02-04 (Thu, 04 Feb 2021)

  Changed paths:
    M Archive/Tar.php
    A tests/relativesymlink.phpt
    A tests/relativesymlink.tar

  Log Message:
  -----------
  Merge pull request #36 from woefe/test-relative-symlink

Add testcase and fix for relative, in-path symlink


Compare: https://github.com/pear/Archive_Tar/compare/c3b94574ab66...40283fb30c97

-- 
PEAR CVS Mailing List (http://pear.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.