w3m

Unnamed repository; edit this file to name it for gitweb.
git clone https://logand.com/git/w3m.git/
Log | Files | Refs | README

commit 22f9810cf6be496bcac7b14a8fe535c6e42465d1
parent dd78533844d757a97335e62485d8cb58d09829d9
Author: ukai <ukai>
Date:   Wed, 27 Mar 2002 15:26:09 +0000

[w3m-dev 03145] header option
* main.c (MAIN): hide args for security
From: Yuuichi Teranishi <teranisi@gohome.org>

Diffstat:
MChangeLog | 5+++++
Mmain.c | 4++++
2 files changed, 9 insertions(+), 0 deletions(-)

diff --git a/ChangeLog b/ChangeLog @@ -1,3 +1,8 @@ +2002-03-28 Yuuichi Teranishi <teranisi@gohome.org> + + * [w3m-dev 03145] header option + * main.c (MAIN): hide args for security + 2002-03-23 Kiyokazu SUTO <suto@ks-and-ks.ne.jp> * [w3m-dev 03140] Forward: Bug#139305: diff --git a/main.c b/main.c @@ -626,6 +626,10 @@ MAIN(int argc, char **argv, char **envp) else Strcat(header_string, hs); } + while (argv[i][0]) { + argv[i][0] = '\0'; + argv[i]++; + } } #ifdef USE_MOUSE else if (!strcmp("-no-mouse", argv[i])) {