Skip to content

Commit 3f98d75

Browse files
Pantheon Automationgreg-1-anderson
Pantheon Automation
authored andcommitted
Update to Drupal 7.78. For more information, see https://www.drupal.org/project/drupal/releases/7.78
1 parent 37c731d commit 3f98d75

File tree

3 files changed

+14
-1
lines changed

3 files changed

+14
-1
lines changed

CHANGELOG.txt

+5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
Drupal 7.78, 2021-01-19
2+
-----------------------
3+
- Fixed security issues:
4+
- SA-CORE-2021-001
5+
16
Drupal 7.77, 2020-12-03
27
-----------------------
38
- Hotfix for schema.prefixed tables

includes/bootstrap.inc

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
/**
99
* The current system version.
1010
*/
11-
define('VERSION', '7.77');
11+
define('VERSION', '7.78');
1212

1313
/**
1414
* Core API compatibility.

modules/system/system.tar.inc

+8
Original file line numberDiff line numberDiff line change
@@ -2178,6 +2178,14 @@ class Archive_Tar
21782178
}
21792179
}
21802180
} elseif ($v_header['typeflag'] == "2") {
2181+
if (strpos(realpath(dirname($v_header['link'])), realpath($p_path)) !== 0) {
2182+
$this->_error(
2183+
'Out-of-path file extraction {'
2184+
. $v_header['filename'] . ' --> ' .
2185+
$v_header['link'] . '}'
2186+
);
2187+
return false;
2188+
}
21812189
if (!$p_symlinks) {
21822190
$this->_warning('Symbolic links are not allowed. '
21832191
. 'Unable to extract {'

0 commit comments

Comments
 (0)