39750198fc
Add upstream patches to fix gzip (bug #9131 - incorrect compression levels), ip (route add bug) and ntpd (CVE-2016-6301 - NTP server denial of service). Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
19 lines
584 B
Diff
19 lines
584 B
Diff
From upstream: https://busybox.net/downloads/fixes-1.25.0/
|
|
|
|
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
|
|
|
|
--- busybox-1.25.0/networking/libiproute/iproute.c
|
|
+++ busybox-1.25.0-ip/networking/libiproute/iproute.c
|
|
@@ -362,10 +362,9 @@ IF_FEATURE_IP_RULE(ARG_table,)
|
|
req.r.rtm_scope = RT_SCOPE_NOWHERE;
|
|
|
|
if (cmd != RTM_DELROUTE) {
|
|
+ req.r.rtm_scope = RT_SCOPE_UNIVERSE;
|
|
if (RTPROT_BOOT != 0)
|
|
req.r.rtm_protocol = RTPROT_BOOT;
|
|
- if (RT_SCOPE_UNIVERSE != 0)
|
|
- req.r.rtm_scope = RT_SCOPE_UNIVERSE;
|
|
if (RTN_UNICAST != 0)
|
|
req.r.rtm_type = RTN_UNICAST;
|
|
}
|