Upgrade dropbear to 0.50 (#2201)
[openwrt.git] / package / dropbear / patches / 130-ssh_ignore_o_and_x_args.patch
1 Index: dropbear-0.50/cli-runopts.c
2 ===================================================================
3 --- dropbear-0.50.orig/cli-runopts.c    2007-08-10 23:47:47.000000000 +0200
4 +++ dropbear-0.50/cli-runopts.c 2007-08-10 23:47:49.000000000 +0200
5 @@ -219,6 +219,10 @@
6                                         debug_trace = 1;
7                                         break;
8  #endif
9 +                               case 'o':
10 +                                       next = &dummy;
11 +                               case 'x':
12 +                                       break;
13                                 case 'F':
14                                 case 'e':
15                                 case 'c':
16 @@ -230,7 +234,6 @@
17  #ifndef ENABLE_CLI_LOCALTCPFWD
18                                 case 'L':
19  #endif
20 -                               case 'o':
21                                 case 'b':
22                                         next = &dummy;
23                                 default: