Accepting request 911372 from home:yudaike:branches:X11:RemoteDesktop

Fix crash in xrdp-fate318398-change-expired-password.patch (bsc#1187258)

OBS-URL: https://build.opensuse.org/request/show/911372
OBS-URL: https://build.opensuse.org/package/show/X11:RemoteDesktop/xrdp?expand=0&rev=94
This commit is contained in:
Felix Zhang 2021-09-14 11:36:21 +00:00 committed by Git OBS Bridge
parent d3a1a4fb71
commit 1b5077ed74
2 changed files with 5 additions and 10 deletions

View File

@ -797,16 +797,6 @@ Index: xrdp-0.9.15/xrdp/xrdp_wm.c
}
}
}
@@ -2107,6 +2143,9 @@ xrdp_wm_show_log(struct xrdp_wm *self)
return 0;
}
+ /* delete all dialogs, they will be created when needed anyway */
+ xrdp_wm_delete_all_children(self);
+
if (self->log_wnd == 0)
{
w = DEFAULT_WND_LOG_W;
Index: xrdp-0.9.15/xrdp/xrdp.h
===================================================================
--- xrdp-0.9.15.orig/xrdp/xrdp.h

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Aug 11 13:46:09 UTC 2021 - Daike Yu <yu.daike@suse.com>
- Fix crash in xrdp-fate318398-change-expired-password.patch (bsc#1187258)
-------------------------------------------------------------------
Wed Jan 6 07:06:23 UTC 2021 - Felix Zhang <fzhang.foss@gmail.com>