Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.bin/shar shar.1: remove false security claim
details: https://anonhg.NetBSD.org/src/rev/361275d19be6
branches: trunk
changeset: 373231:361275d19be6
user: rillig <rillig%NetBSD.org@localhost>
date: Wed Jan 25 19:52:14 2023 +0000
description:
shar.1: remove false security claim
It's easy to embed arbitrary shell code in a line starting with 'X',
which the suggested egrep command would fail to detect.
diffstat:
usr.bin/shar/shar.1 | 10 ++--------
1 files changed, 2 insertions(+), 8 deletions(-)
diffs (28 lines):
diff -r 5fe8761b6a70 -r 361275d19be6 usr.bin/shar/shar.1
--- a/usr.bin/shar/shar.1 Wed Jan 25 19:08:41 2023 +0000
+++ b/usr.bin/shar/shar.1 Wed Jan 25 19:52:14 2023 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: shar.1,v 1.13 2017/07/03 21:34:21 wiz Exp $
+.\" $NetBSD: shar.1,v 1.14 2023/01/25 19:52:14 rillig Exp $
.\"
.\" Copyright (c) 1990, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -29,7 +29,7 @@
.\"
.\" @(#)shar.1 8.1 (Berkeley) 6/6/93
.\"
-.Dd June 6, 1993
+.Dd January 25, 2023
.Dt SHAR 1
.Os
.Sh NAME
@@ -93,9 +93,3 @@
It is strongly recommended that all shell archive files be examined
before running them through
.Xr sh 1 .
-Archives produced using this implementation of
-.Nm
-may be easily examined with the command:
-.Bd -literal -offset indent
-egrep -v '^[X#]' shar.file
-.Ed
Home |
Main Index |
Thread Index |
Old Index