aboutsummaryrefslogtreecommitdiffstats
path: root/package/network/services/ppp/patches/401-no_record_file.patch
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2014-09-13 20:56:13 +0000
committerHauke Mehrtens <hauke@hauke-m.de>2014-09-13 20:56:13 +0000
commit2c605ba1f1130d81aa6ff2d070244aa0d6ba386d (patch)
tree7edd487f644bd5a3324aec3ebf31759dd7eac326 /package/network/services/ppp/patches/401-no_record_file.patch
parenta8e1a031a805d21e40a1e3d20f0176061579720f (diff)
downloadupstream-2c605ba1f1130d81aa6ff2d070244aa0d6ba386d.tar.gz
upstream-2c605ba1f1130d81aa6ff2d070244aa0d6ba386d.tar.bz2
upstream-2c605ba1f1130d81aa6ff2d070244aa0d6ba386d.zip
ppp: update to version 2.4.7
This fixes: CVE-2014-3158 and some other bugs. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 42525
Diffstat (limited to 'package/network/services/ppp/patches/401-no_record_file.patch')
-rw-r--r--package/network/services/ppp/patches/401-no_record_file.patch6
1 files changed, 3 insertions, 3 deletions
diff --git a/package/network/services/ppp/patches/401-no_record_file.patch b/package/network/services/ppp/patches/401-no_record_file.patch
index 49835a3aa9..f3c13ec977 100644
--- a/package/network/services/ppp/patches/401-no_record_file.patch
+++ b/package/network/services/ppp/patches/401-no_record_file.patch
@@ -7,7 +7,7 @@ Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
--- a/pppd/pppd.h
+++ b/pppd/pppd.h
-@@ -316,7 +316,6 @@ extern int holdoff; /* Dead time before
+@@ -317,7 +317,6 @@ extern int holdoff; /* Dead time before
extern bool holdoff_specified; /* true if user gave a holdoff value */
extern bool notty; /* Stdin/out is not a tty */
extern char *pty_socket; /* Socket to connect to pty */
@@ -17,7 +17,7 @@ Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
extern char linkname[MAXPATHLEN]; /* logical name for link */
--- a/pppd/tty.c
+++ b/pppd/tty.c
-@@ -145,7 +145,7 @@ char *disconnect_script = NULL; /* Scrip
+@@ -146,7 +146,7 @@ char *disconnect_script = NULL; /* Scrip
char *welcomer = NULL; /* Script to run after phys link estab. */
char *ptycommand = NULL; /* Command to run on other side of pty */
bool notty = 0; /* Stdin/out is not a tty */
@@ -26,7 +26,7 @@ Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
int max_data_rate; /* max bytes/sec through charshunt */
bool sync_serial = 0; /* Device is synchronous serial device */
char *pty_socket = NULL; /* Socket to connect to pty */
-@@ -201,8 +201,10 @@ option_t tty_options[] = {
+@@ -202,8 +202,10 @@ option_t tty_options[] = {
"Send and receive over socket, arg is host:port",
OPT_PRIO | OPT_DEVNAM },