Skip to contentSkip to conversation

mariadb: fix CVE-2022-47015 NULL pointer dereference in spider_db_mbase::print_warnings()

PATCH New Vivek Kumbhar 1 participant 1 message Mar 27, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 mariadb: fix CVE-2022-47015 NULL pointer dereference in spider_db_mbase::print_warnings()

The function spider_db_mbase::print_warnings() can potentially result in a null pointer dereference.

Remove the null pointer dereference by cleaning up the function.

---
 meta-oe/recipes-dbs/mysql/mariadb.inc         |   1 +
 .../mysql/mariadb/CVE-2022-47015.patch        | 269 ++++++++++++++++++
 2 files changed, 270 insertions(+)
 create mode 100644 meta-oe/recipes-dbs/mysql/mariadb/CVE-2022-47015.patch
meta-oe/recipes-dbs/mysql/mariadb.inc +1 -0
index 565f4d5613..e052c7691e 100644
@@ -16,6 +16,7 @@ SRC_URI = "https://downloads.mariadb.org/interstitial/${BP}/source/${BP}.tar.gz
            file://sql-CMakeLists.txt-fix-gen_lex_hash-not-found.patch \
            file://0001-disable-ucontext-on-musl.patch \
            file://fix-arm-atomic.patch \
+           file://CVE-2022-47015.patch \
           "
 
 SRC_URI[sha256sum] = "ff963c4e11bc06b775f66f2b1ddef184996208fb4b23cfdb50d95fb02eaa7ef8"
meta-oe/recipes-dbs/mysql/mariadb/CVE-2022-47015.patch new file +269 -0

269 lines not on this page · raw message

Signature · 1 line
2.18.2