diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2016-06-20 11:04:04 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2016-06-20 11:04:04 +0200 |
commit | ecf25cb5bce27ca5820e2895d8458f38c406d105 (patch) | |
tree | 34f42ed988afce2b617de8a725dd80afe71740cc | |
parent | 5c3e060604444b18303f55e631637c28d889704f (diff) | |
download | busybox-w32-ecf25cb5bce27ca5820e2895d8458f38c406d105.tar.gz busybox-w32-ecf25cb5bce27ca5820e2895d8458f38c406d105.tar.bz2 busybox-w32-ecf25cb5bce27ca5820e2895d8458f38c406d105.zip |
randomconfig fixes 5: false positive for tar; mount emits corrupted message
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rwxr-xr-x | testsuite/tar.tests | 2 | ||||
-rw-r--r-- | util-linux/mount.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/testsuite/tar.tests b/testsuite/tar.tests index f19a53da2..c44b7ad07 100755 --- a/testsuite/tar.tests +++ b/testsuite/tar.tests | |||
@@ -204,7 +204,7 @@ SKIP= | |||
204 | 204 | ||
205 | # Had a bug where on extract autodetect first "switched off" -z | 205 | # Had a bug where on extract autodetect first "switched off" -z |
206 | # and then failed to recognize .tgz extension | 206 | # and then failed to recognize .tgz extension |
207 | optional FEATURE_TAR_CREATE FEATURE_SEAMLESS_GZ | 207 | optional FEATURE_TAR_CREATE FEATURE_SEAMLESS_GZ GUNZIP |
208 | testing "tar extract tgz" "\ | 208 | testing "tar extract tgz" "\ |
209 | dd count=1 bs=1M if=/dev/zero of=F0 2>/dev/null | 209 | dd count=1 bs=1M if=/dev/zero of=F0 2>/dev/null |
210 | tar -czf F0.tgz F0 | 210 | tar -czf F0.tgz F0 |
diff --git a/util-linux/mount.c b/util-linux/mount.c index c76f6ef61..cef4f7415 100644 --- a/util-linux/mount.c +++ b/util-linux/mount.c | |||
@@ -2058,7 +2058,7 @@ static int singlemount(struct mntent *mp, int ignore_busy) | |||
2058 | del_loop(mp->mnt_fsname); | 2058 | del_loop(mp->mnt_fsname); |
2059 | if (ENABLE_FEATURE_CLEAN_UP) { | 2059 | if (ENABLE_FEATURE_CLEAN_UP) { |
2060 | free(loopFile); | 2060 | free(loopFile); |
2061 | free(mp->mnt_fsname); | 2061 | /* No, "rc != 0" needs it: free(mp->mnt_fsname); */ |
2062 | } | 2062 | } |
2063 | } | 2063 | } |
2064 | 2064 | ||