Skip to contentSkip to conversation

qt4: fix CVE-2013-0254

PATCH In review Eric Bénard 1 participant 2 messages Feb 5, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 qt4: fix CVE-2013-0254

fix "POSIX shared memory segments created world-writeable"

more details :
http://lists.qt-project.org/pipermail/announce/2013-February/000023.html

---
 meta/recipes-qt/qt4/qt4-4.8.4.inc                  |   1 +
 ...ange-all-shmget-calls-to-user-only-memory.patch | 147 +++++++++++++++++++++
 meta/recipes-qt/qt4/qt4-embedded_4.8.4.bb          |   2 +-
 meta/recipes-qt/qt4/qt4-x11-free_4.8.4.bb          |   2 +-
 4 files changed, 150 insertions(+), 2 deletions(-)
 create mode 100644 meta/recipes-qt/qt4/qt4-4.8.4/0024-Change-all-shmget-calls-to-user-only-memory.patch
meta/recipes-qt/qt4/qt4-4.8.4.inc +1 -0
index 0bc1062..3f0f003 100644
@@ -23,6 +23,7 @@ SRC_URI = "http://releases.qt-project.org/qt4/source/qt-everywhere-opensource-sr
            file://0020-webkit-disable-the-fuse-ld-gold-flag.patch \
            file://0022-ssl-certificates-blacklist-mis-issued-turktrust-certificates.patch \
            file://0023-qtnetwork-blacklist-two-more-certificates.patch \
+           file://0024-Change-all-shmget-calls-to-user-only-memory.patch \
            file://g++.conf \
            file://linux.conf \
            "
meta/recipes-qt/qt4/qt4-4.8.4/0024-Change-all-shmget-calls-to-user-only-memory.patch new file +147 -0

147 lines not on this page · raw message

meta/recipes-qt/qt4/qt4-embedded_4.8.4.bb +1 -1
index 6024192..286da95 100644
@@ -1,7 +1,7 @@
 require qt4-${PV}.inc
 require qt4-embedded.inc
 
-PR = "${INC_PR}.2"
+PR = "${INC_PR}.3"
 
 QT_CONFIG_FLAGS_append_arm = "${@bb.utils.contains("TUNE_FEATURES", "neon", "", " -no-neon" ,d)}"
 
meta/recipes-qt/qt4/qt4-x11-free_4.8.4.bb +1 -1
index 7de6a82..e5db30d 100644
@@ -1,7 +1,7 @@
 require qt4-x11-free.inc
 require qt4-${PV}.inc
 
-PR = "${INC_PR}.2"
+PR = "${INC_PR}.3"
 
 QT_CONFIG_FLAGS_append_arm = "${@bb.utils.contains("TUNE_FEATURES", "neon", "", " -no-neon" ,d)}"
 
Signature · 1 line
1.7.11.7
#1 lore raw

Hi,

Quoted 6 lines · Eric Bénard

fix "POSIX shared memory segments created world-writeable"

more details :
http://lists.qt-project.org/pipermail/announce/2013-February/000023.html

more details :
- compile tested on qt4-x11-free for an armv7 target
- I had to remove a part of the patch which correspond to a test program which seems to not be distributed in the qt release (and is only in the git tree).

Eric