! 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 !
Pressing root button when no archive is opend segfaults.
Status:
RESOLVED: FIXED
Product:
Xarchiver
Component:
general

Comments

Description Pete 2007-08-06 21:55:46 CEST
1) Start xarchiver without opening an archive.
2) Press on the root button in the archive navigation panel.
Xarchiver will now segfault.

SVN Revision = 25958
Comment 1 Giuseppe Torelli 2007-08-06 22:00:03 CEST
I know this behaviour; thank you for using Xarchiver.
Comment 2 Bruno Jesus 2007-08-23 18:06:39 CEST
Doing a backtrace under gdb I can see that it's on interface.c, line
929. The archive[idx]->location_entry_path = NULL assignment does the
segfault because archive is a pointer to NULL. I think archive may be
a vector that holds the opened archive tabs and as there's no file
opened it was not allocated yet.
Comment 3 Giuseppe Torelli 2007-10-20 13:45:53 CEST
Fixed in r26153.

Bug #3438

Reported by:
Pete
Reported on: 2007-08-06
Last modified on: 2007-10-20

People

Assignee:
Giuseppe Torelli
CC List:
0 users

Version

Version:
0.4.9svn

Attachments

Additional information