From 718faca04e68d75bebc08657df8a9ae98b3445ab Mon Sep 17 00:00:00 2001 From: Raspbian kernel package updater Date: Tue, 25 Jul 2017 04:08:33 +0000 Subject: [PATCH] defuzz patches --- .../mm-fix-new-crash-in-unmapped_area_topdown.patch | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/debian/patches/bugfix/all/mm-fix-new-crash-in-unmapped_area_topdown.patch b/debian/patches/bugfix/all/mm-fix-new-crash-in-unmapped_area_topdown.patch index ccd5663a9716..0486ead1d227 100644 --- a/debian/patches/bugfix/all/mm-fix-new-crash-in-unmapped_area_topdown.patch +++ b/debian/patches/bugfix/all/mm-fix-new-crash-in-unmapped_area_topdown.patch @@ -22,9 +22,11 @@ Signed-off-by: Linus Torvalds mm/mmap.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) ---- a/mm/mmap.c -+++ b/mm/mmap.c -@@ -1813,7 +1813,8 @@ check_current: +Index: usextract/mm/mmap.c +=================================================================== +--- usextract.orig/mm/mmap.c ++++ usextract/mm/mmap.c +@@ -1799,7 +1799,8 @@ check_current: /* Check if current node has a suitable gap */ if (gap_start > high_limit) return -ENOMEM; @@ -34,8 +36,8 @@ Signed-off-by: Linus Torvalds goto found; /* Visit right subtree if it looks promising */ -@@ -1916,7 +1917,8 @@ check_current: - gap_end = vm_start_gap(vma); +@@ -1902,7 +1903,8 @@ check_current: + gap_end = vma->vm_start; if (gap_end < low_limit) return -ENOMEM; - if (gap_start <= high_limit && gap_end - gap_start >= length) -- 2.30.2