crash with long filenames

Bug #397515 reported by Wiatrak on 2009-07-09
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ircp Tray
Daniele Napolitano

Bug Description

When I try to send file which has more than about 35 letters name from computer to mobile the application crashes.

After running from terminal it shows buffer overflow.
I'm attaching log.

Related branches

Wiatrak (wiatrak.) wrote :
Changed in ircp-tray:
assignee: nobody → Daniele Napolitano (dnax88)
Daniele Napolitano (dnax88) wrote :

Thanks for helping Ircp Tray project. Which version you using?

Changed in ircp-tray:
importance: Undecided → Medium
milestone: none → 0.8
status: New → Confirmed
Wiatrak (wiatrak.) wrote :


I have been hit by this bug too. This bug arises from the use of a stack based fixed-length char array. A patch to replace this with a dynamic allocation is attached. I have been using this patch since 0.7.3, but this one is prepared to apply to 0.7.4.

Daniele Napolitano (dnax88) wrote :

@Alex: Thanks for this patch. In the 0.8 trunk I used the g_strdup() function from glib.

Now correct this bug in the 0.7.x series.

Changed in ircp-tray:
milestone: 0.8 → none
status: Confirmed → Triaged
Changed in ircp-tray:
status: Triaged → Fix Committed
Changed in ircp-tray:
milestone: none → 0.7.5
Changed in ircp-tray:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Bug attachments