! 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 !
Thunar crashes when right clicking a file and selecting properties
Status:
CLOSED: FIXED
Severity:
critical
Product:
Thunar-vfs
Component:
General

Comments

Description Brian Merrill 2006-01-08 07:27:58 CET
If I right click on any folder or file and then select "Properties" Thunar will
crash.

Reproducible: Always
Steps to Reproduce:
1. Right Click on any folder or file
2. Select Properties from the menu
3. Thunar will crash

Actual Results:  
Thunar crashes


My user in /etc/passwd does not have a real name entry which I believe is
causing the crash. In thunar-permissions-model.c, line 438,
thunar_vfs_user_get_real_name returns NULL and this is immediately followed by a
string compare which results in the crash.  As for real_name having a null
value, this seems to be a result of pw->pw_gecos containing what appears to be
invalid data in function thunar_vfs_user_load.  

Please see the attached patch.
Comment 1 Brian Merrill 2006-01-08 07:28:40 CET
Created attachment 388 
thunar-vfs-user.c.patch
Comment 2 Benedikt Meurer editbugs 2006-01-08 21:53:45 CET
Fixed with revision 19357.

Bug #1315

Reported by:
Brian Merrill
Reported on: 2006-01-08
Last modified on: 2010-11-07

People

Assignee:
Jannis Pohlmann
CC List:
1 user

Version

Version:
unspecified

Attachments

thunar-vfs-user.c.patch (827 bytes, patch)
2006-01-08 07:28 CET , Brian Merrill
no flags

Additional information