diff options
author | Ross Burton <ross.burton@intel.com> | 2017-11-15 16:47:41 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-03-07 06:34:50 -0800 |
commit | 5b63a64f7f47f76667bd1933d9a716e320b9bbb5 (patch) | |
tree | e8cb2b406dcd13e9da3fa3cbf12ef355d2f1727d /meta/recipes-core | |
parent | 46a2d5ef5c8035c3c32abcea24aac8183774314b (diff) | |
download | poky-5b63a64f7f47f76667bd1933d9a716e320b9bbb5.tar.gz |
dropbear: refresh patches
The patch tool will apply patches by default with "fuzz", which is where if the
hunk context isn't present but what is there is close enough, it will force the
patch in.
Whilst this is useful when there's just whitespace changes, when applied to
source it is possible for a patch applied with fuzz to produce broken code which
still compiles (see #10450). This is obviously bad.
We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For
that to be realistic the existing patches with fuzz need to be rebased and
reviewed.
(From OE-Core rev: 18300f8faa5050178efcd22f2db843f9b3f3bb0f)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core')
-rw-r--r-- | meta/recipes-core/dropbear/dropbear/0004-fix-2kb-keys.patch | 17 |
1 files changed, 7 insertions, 10 deletions
diff --git a/meta/recipes-core/dropbear/dropbear/0004-fix-2kb-keys.patch b/meta/recipes-core/dropbear/dropbear/0004-fix-2kb-keys.patch index 7539d2034f..60c6a29d65 100644 --- a/meta/recipes-core/dropbear/dropbear/0004-fix-2kb-keys.patch +++ b/meta/recipes-core/dropbear/dropbear/0004-fix-2kb-keys.patch | |||
@@ -5,18 +5,15 @@ Upstream-Status: Inappropriate [configuration] | |||
5 | kex.h | 2 +- | 5 | kex.h | 2 +- |
6 | 1 file changed, 1 insertion(+), 1 deletion(-) | 6 | 1 file changed, 1 insertion(+), 1 deletion(-) |
7 | 7 | ||
8 | diff --git a/kex.h b/kex.h | 8 | Index: dropbear-2017.75/kex.h |
9 | index 72430e9..375c677 100644 | 9 | =================================================================== |
10 | --- a/kex.h | 10 | --- dropbear-2017.75.orig/kex.h |
11 | +++ b/kex.h | 11 | +++ dropbear-2017.75/kex.h |
12 | @@ -67,6 +67,6 @@ struct KEXState { | 12 | @@ -106,6 +106,6 @@ int curve25519_donna(unsigned char *out, |
13 | }; | 13 | #endif |
14 | 14 | ||
15 | 15 | ||
16 | -#define MAX_KEXHASHBUF 2000 | 16 | -#define MAX_KEXHASHBUF 2000 |
17 | +#define MAX_KEXHASHBUF 3000 | 17 | +#define MAX_KEXHASHBUF 3000 |
18 | 18 | ||
19 | #endif /* _KEX_H_ */ | 19 | #endif /* DROPBEAR_KEX_H_ */ |
20 | -- | ||
21 | 1.7.11.7 | ||
22 | |||