From ae56ce24b10767800b1715e7e68b41c7d3571b4c Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Fri, 25 Jun 2010 13:18:05 +0200 Subject: Remove --wget-timestamp option (contained a remote code execution hole) --- src/options.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'src/options.c') diff --git a/src/options.c b/src/options.c index e8c1baf..5962ca1 100644 --- a/src/options.c +++ b/src/options.c @@ -317,7 +317,7 @@ char *feh_string_normalize(char *str) static void feh_parse_option_array(int argc, char **argv) { static char stropts[] = - "a:A:b:B:cC:dD:e:E:f:Fg:GhH:iIj:klL:mM:nNo:O:pqQrR:sS:tT:uUvVwW:xXy:zZ0:1:2:4:5:8:9:.@:^:~:):|:_:+:"; + "a:A:b:B:cC:dD:e:E:f:Fg:hH:iIj:klL:mM:nNo:O:pqQrR:sS:tT:uUvVwW:xXy:zZ0:1:2:4:5:8:9:.@:^:~:):|:_:+:"; static struct option lopts[] = { /* actions */ {"help", 0, 0, 'h'}, /* okay */ @@ -346,7 +346,6 @@ static void feh_parse_option_array(int argc, char **argv) {"preload", 0, 0, 'p'}, {"reverse", 0, 0, 'n'}, {"thumbnails", 0, 0, 't'}, - {"wget-timestamp", 0, 0, 'G'}, {"builtin", 0, 0, 'Q'}, {"scale-down", 0, 0, '.'}, /* okay */ {"no-jump-on-resort", 0, 0, 220}, @@ -462,9 +461,6 @@ static void feh_parse_option_array(int argc, char **argv) opt.list = 1; opt.display = 0; break; - case 'G': - opt.wget_timestamp = 1; - break; case 'Q': opt.builtin_http = 1; break; -- cgit v1.2.3