! 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 !
Stack smashing detected in xarchiver 0.5.2
Status:
RESOLVED: FIXED
Product:
Xarchiver
Component:
general

Comments

Description Fredric Johansson 2009-01-27 17:53:43 CET
Created attachment 2125 
patch against 0.5.2

~ $ xarchiver 
*** stack smashing detected ***: xarchiver - terminated
xarchiver: stack smashing attack in function <unknown> - terminated
Report to http://bugs.gentoo.org/
Avbruten (SIGABRT) (core dumped)

A debugging session in gdb shows that the problem lies in xa_set_statusbar_message_for_displayed_rows and xa_row_selected:

gtk_tree_model_get (model,&iter,pos,&size,-1); #line 1496 and 1588
returns a guint64 while size is defined as a unsigned long int

A patch is attached
Comment 1 Giuseppe Torelli 2009-01-28 07:24:18 CET
Fixed in revision 29407. Thank you for the patch!

Bug #4865

Reported by:
Fredric Johansson
Reported on: 2009-01-27
Last modified on: 2009-01-28

People

Assignee:
Giuseppe Torelli
CC List:
0 users

Version

Version:
unspecified

Attachments

patch against 0.5.2 (581 bytes, patch)
2009-01-27 17:53 CET , Fredric Johansson
no flags

Additional information