ALT Linux Bugzilla
– Attachment 15303 Details for
Bug 48951
Вызывает сегфолты в deepin DE
New bug
|
Search
|
[?]
|
Help
Register
|
Log In
[x]
|
Forgot Password
Login:
[x]
|
EN
|
RU
[patch]
handle-avoid-segfault-in-invalidate_icons
0001-handle-avoid-segfault-in-invalidate_icons.patch (text/plain), 877 bytes, created by
Leontiy Volodin
on 2023-12-28 05:53:05 MSK
(
hide
)
Description:
handle-avoid-segfault-in-invalidate_icons
Filename:
MIME Type:
Creator:
Leontiy Volodin
Created:
2023-12-28 05:53:05 MSK
Size:
877 bytes
patch
obsolete
>From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 >From: =?UTF-8?q?Alberts=20Muktup=C4=81vels?= <alberts.muktupavels@gmail.com> >Date: Tue, 20 Sep 2022 15:40:22 +0300 >Subject: [PATCH] handle: avoid segfault in invalidate_icons > >Screens variable won't be initialized if default icon sizes are >set/changed before using wnck_screen_get_default. > >https://bugs.launchpad.net/ubuntu/+source/libwnck3/+bug/1990263 >--- > libwnck/wnck-handle.c | 3 +++ > 1 file changed, 3 insertions(+) > >diff --git a/libwnck/wnck-handle.c b/libwnck/wnck-handle.c >index e12ff8825045..8d5da45c8787 100644 >--- a/libwnck/wnck-handle.c >+++ b/libwnck/wnck-handle.c >@@ -70,6 +70,9 @@ invalidate_icons (WnckHandle *self) > Display *xdisplay; > int i; > >+ if (self->screens == NULL) >+ return; >+ > xdisplay = _wnck_get_default_display (); > > for (i = 0; i < ScreenCount (xdisplay); ++i)
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 48951
: 15303 |
15304
|
15305
|
15306
|
15307