Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 905843 - mate-base/mate-desktop-1.26.1: fix use after free and memory leak
Summary: mate-base/mate-desktop-1.26.1: fix use after free and memory leak
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal critical
Assignee: Gentoo MATE Desktop
URL: https://github.com/mate-desktop/mate-...
Whiteboard:
Keywords: PATCH, PullRequest
Depends on:
Blocks:
 
Reported: 2023-05-06 18:50 UTC by Thibaud CANALE
Modified: 2023-06-14 19:19 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thibaud CANALE 2023-05-06 18:50:10 UTC
A segmentation fault occurs in function `blow_expensive_caches` of library `libmate-desktop-2` used for example by `mate-base/caja`.

The patch provided in URL fixes this issue (it revers a 12 years old regression).

I already issued an ebuild patch on oz123’s Gentoo overlay for MATE Desktop Environment: https://github.com/oz123/mate-de-gentoo/pull/80

Reproducible: Always
Comment 1 Joakim Tjernlund 2023-05-08 16:11:03 UTC
Or update to 1.26.1 would address this too I think
Comment 2 Thibaud CANALE 2023-05-08 16:46:18 UTC
Thanks Joakin for the feedback, I didn’t see the new release. This is indeed better.

Links updated.
Comment 3 Larry the Git Cow gentoo-dev 2023-05-08 17:36:22 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=21478a95290398fff0c5b83d341f8c829a997d26

commit 21478a95290398fff0c5b83d341f8c829a997d26
Author:     Thibaud CANALE <thican@thican.net>
AuthorDate: 2023-05-08 16:36:08 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-05-08 17:34:33 +0000

    mate-base/mate-desktop: add 1.26.1
    
    Fix use after free and memory leak.
    Source: https://github.com/mate-desktop/mate-desktop/releases/tag/v1.26.1
    
    Closes: https://bugs.gentoo.org/905843
    Signed-off-by: Thibaud CANALE <thican@thican.net>
    Closes: https://github.com/gentoo/gentoo/pull/30936
    Signed-off-by: Sam James <sam@gentoo.org>

 mate-base/mate-desktop/Manifest                   |  1 +
 mate-base/mate-desktop/mate-desktop-1.26.1.ebuild | 54 +++++++++++++++++++++++
 2 files changed, 55 insertions(+)
Comment 4 Joakim Tjernlund 2023-05-09 08:19:12 UTC
(In reply to Thibaud CANALE from comment #2)
> Thanks Joakin for the feedback, I didn’t see the new release. This is indeed
> better.
> 
> Links updated.

Seems to be a bunch of MATE 1.26.x releases the last few days/weeks