]> git.pld-linux.org Git - packages/qt4.git/commit
quick and ugly hack for infinite loop in QMap
authorJan Palus <atler@pld-linux.org>
Wed, 22 Sep 2021 14:06:26 +0000 (16:06 +0200)
committerJan Palus <atler@pld-linux.org>
Wed, 22 Sep 2021 14:15:15 +0000 (16:15 +0200)
commitdb331ed1a3162a7c83243fd56699e27f9270d3ef
treed0b415d9c07696929231c570d686e2e8bb6adfad
parentd4d1c88d80d1f221f5a19ab1e3106d25b8d288ff
quick and ugly hack for infinite loop in QMap

as noted by qboosh in

https://lists.pld-linux.org/mailman/pipermail/pld-devel-en/2021-September/026364.html

the root cause is essentially a mismatch between address of
QMapData::shared_null as seen in library and application. since
`shared_null` acts basically as '\0' in strings -- stop point, only
compared by address -- just make sure application always receives same
address as library. still to be determined why that happens exactly
(all of my attempts at reduced reproducer failed) and proper fix should
be delivered.
qmap_inf_loop.patch [new file with mode: 0644]
qt4.spec
This page took 0.186354 seconds and 4 git commands to generate.