summaryrefslogtreecommitdiff
path: root/tests/local.mk
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2012-10-16 17:43:49 +0200
committerJim Meyering <jim@meyering.net>2012-10-17 18:17:56 +0200
commit64aef5fb9afecc023a6e719da161dbbf450908b8 (patch)
treea592f63d1dd77c6f946eb594a4828468f100db58 /tests/local.mk
parentc528f13136c8b3ed89d5d59bdc04f99872e10fa7 (diff)
downloadcoreutils-64aef5fb9afecc023a6e719da161dbbf450908b8.tar.xz
cp: avoid data-corrupting free-memory-read
* src/extent-scan.c (extent_scan_read): Reset our last_ei pointer whenever the parent buffer might have just been freed. * tests/cp/fiemap-extent-FMR.sh: New test. * tests/local.mk (all_tests): Add it. * NEWS (Bug fixes): Mention it. Reported by Mike Gerth in http://bugs.gnu.org/12656, and with help from Alan Curry. Bug introduced in commit v8.10-60-g18f5a85.
Diffstat (limited to 'tests/local.mk')
-rw-r--r--tests/local.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/local.mk b/tests/local.mk
index 486bf312b..5a237fa71 100644
--- a/tests/local.mk
+++ b/tests/local.mk
@@ -418,6 +418,7 @@ all_tests = \
tests/cp/existing-perm-race.sh \
tests/cp/fail-perm.sh \
tests/cp/fiemap-empty.sh \
+ tests/cp/fiemap-FMR.sh \
tests/cp/fiemap-perf.sh \
tests/cp/fiemap-2.sh \
tests/cp/file-perm-race.sh \