! 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 !
Improperly allocated memory in xfce4-radio-plugin
Status:
RESOLVED: FIXED
Product:
Xfce4-radio-plugin
Component:
General

Comments

Description pktfag 2008-09-18 09:13:41 CEST
Created attachment 1824 
2 Patches to update_label

When I translated xfce4-radio-plugin to the Russian, the inclusion of plugin to panel following error occurred:
*** Glibc detected *** / usr/lib/xfce4/panel-plugins/xfce4-radio-plugin: free (): invalid next size (fast): 0x0930c388 ***
And plugin don't loads. The bug was found in the function update_label. There was a limit to the number of bytes MAX_LABEL_LENGTH, and improperly allocated memory in excess of the number of bytes. The number of bytes in a word "- выкл -" (in russian) more than number of bytes in a word "- off -".
I made two patch: one removes the restriction on the number of bytes, and second makes this restriction by using the utf8. I applied to the first patch, because it is simpler.
I had to mail translate later.
Comment 1 Stefan Ott 2008-11-30 03:38:26 CET
Fixed in SVN rev. 4397

Bug #4397

Reported by:
pktfag
Reported on: 2008-09-18
Last modified on: 2009-07-15

People

Assignee:
Stefan Ott
CC List:
0 users

Version

Version:
unspecified

Attachments

2 Patches to update_label (647 bytes, application/x-gzip)
2008-09-18 09:13 CEST , pktfag
no flags

Additional information