! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
xfsettingsd segfault
Status:
RESOLVED: FIXED
Product:
Xfce4-settings
Component:
Xfsettingsd

Comments

Description Lars-Peter Clausen 2009-01-11 02:34:56 CET
xfsettingsd does some string formating in registry.c without checking its string parameters for nullness. (line 306 and 358) Since the default value for one XSETTING_ENTRY_GTK_CURSORTHEMENAME property is NULL which is used as a formating parameter it causes a segfault.

The attached patch adds checks for nullness and fixes the problem.
Comment 1 Lars-Peter Clausen 2009-01-11 02:35:42 CET
Created attachment 2077 
add checks for nullness to avoid segfault
Comment 2 Stephan Arts editbugs 2009-01-19 19:30:31 CET
Fixed.

Patch applied in revision 29277.

Bug #4797

Reported by:
Lars-Peter Clausen
Reported on: 2009-01-11
Last modified on: 2009-07-14

People

Assignee:
Stephan Arts
CC List:
0 users

Version

Attachments

add checks for nullness to avoid segfault (2.03 KB, patch)
2009-01-11 02:35 CET , Lars-Peter Clausen
no flags

Additional information