]> code.ossystems Code Review - openembedded-core.git/commit
grub: clean up CVE patches
authorYongxin Liu <yongxin.liu@windriver.com>
Wed, 4 Nov 2020 00:43:33 +0000 (08:43 +0800)
committerSteve Sakoman <steve@sakoman.com>
Mon, 9 Nov 2020 02:51:24 +0000 (16:51 -1000)
commit4f395ad49ef9035954d0fda7b7df14dea18b49a0
tree8f4017d9e9296e00b88b47c65c4af08f9d7e9fff
parentaf52a1f1f3a2ab61fea263c3dd17628f359ec906
grub: clean up CVE patches

Clean up several patches introduced in commit 6732918498 ("grub:fix
several CVEs in grub 2.04").

1) Add CVE tags to individual patches.
2) Rename upstream patches and prefix them with CVE tags.
3) Add description of reference to upstream patch.

Signed-off-by: Yongxin Liu <yongxin.liu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit bcb8b6719beaf6625e6b703e91958fe8afba5819)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
meta/recipes-bsp/grub/files/CVE-2020-14308-calloc-Use-calloc-at-most-places.patch [moved from meta/recipes-bsp/grub/files/0003-calloc-Use-calloc-at-most-places.patch with 99% similarity]
meta/recipes-bsp/grub/files/CVE-2020-14309-CVE-2020-14310-CVE-2020-14311-malloc-Use-overflow-checking-primitives-where-we-do-.patch [moved from meta/recipes-bsp/grub/files/0005-malloc-Use-overflow-checking-primitives-where-we-do-.patch with 99% similarity]
meta/recipes-bsp/grub/files/CVE-2020-15706-script-Avoid-a-use-after-free-when-redefining-a-func.patch [moved from meta/recipes-bsp/grub/files/0007-script-Avoid-a-use-after-free-when-redefining-a-func.patch with 95% similarity]
meta/recipes-bsp/grub/files/CVE-2020-15707-linux-Fix-integer-overflows-in-initrd-size-handling.patch [moved from meta/recipes-bsp/grub/files/0008-linux-Fix-integer-overflows-in-initrd-size-handling.patch with 96% similarity]
meta/recipes-bsp/grub/files/calloc-Make-sure-we-always-have-an-overflow-checking.patch [moved from meta/recipes-bsp/grub/files/0001-calloc-Make-sure-we-always-have-an-overflow-checking.patch with 100% similarity]
meta/recipes-bsp/grub/files/lvm-Add-LVM-cache-logical-volume-handling.patch [moved from meta/recipes-bsp/grub/files/0002-lvm-Add-LVM-cache-logical-volume-handling.patch with 100% similarity]
meta/recipes-bsp/grub/files/safemath-Add-some-arithmetic-primitives-that-check-f.patch [moved from meta/recipes-bsp/grub/files/0004-safemath-Add-some-arithmetic-primitives-that-check-f.patch with 100% similarity]
meta/recipes-bsp/grub/files/script-Remove-unused-fields-from-grub_script_functio.patch [moved from meta/recipes-bsp/grub/files/0006-script-Remove-unused-fields-from-grub_script_functio.patch with 100% similarity]
meta/recipes-bsp/grub/grub2.inc