Package: maliit-framework / 2.3.0-3.2

Metadata

Package Version Patches format
maliit-framework 2.3.0-3.2 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
0001_move the operator== definition to global namespace.patch | (download)

tests/ut_mimserveroptions/ut_mimserveroptions.cpp | 10 5 5 - 0 !
1 file changed, 5 insertions( ), 5 deletions(-)

 [patch] ut_mimserveroptions: move the operator== definition to global
 namespace

With gcc-12 having the operator== in anonymous namespace for a struct which
is in the global namespace results in a lengthy compilation error. Moving
this non-mmember function into the global namespace fixes the issue.

Fixes #112

0002_prevent qlist returned by subject pluginDescriptions from being deleted.patch | (download)

tests/ft_mimpluginmanager/ft_mimpluginmanager.cpp | 17 11 6 - 0 !
1 file changed, 11 insertions( ), 6 deletions(-)

 [patch] prevent qlist returned by subject->plugindescriptions from
 being deleted

If we don't save QList to a variable, it becomes deleted, and pointer
returned by findPluginDescriptions becomes invalid. Then trying to call
description->enabled() results in a segmentation fault.

0003_fix stack smashing.patch | (download)

src/mimhwkeyboardtracker.cpp | 14 7 7 - 0 !
1 file changed, 7 insertions( ), 7 deletions(-)

 [patch] fix stack smashing due to mishandled ioctl bits reading