[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#386752: cdebconf-gtk-udeb: Probably not enough memory allocated for string

On Saturday 09 September 2006 23:26, Aike Reyer wrote:
> I had a look at frontend/gtk/gtk.c and think that in
> expose_event_callback() the argument to malloc() (line 244) is to
> small. In the following line the sprintf() does not only use "<b></b>"
> but "<b><span foreground="#ffffff"></span></b>". So I suppose there
> should be room for 34 characters more.

In the patch it would probably make sense to move the malloc inside the 
existing #if statement instead of using a separate one.

Hmm. General question...
How does GTK_CHECK_VERSION(2,8,0) work with 2.10 libs?
Looks like this check is currently used in 2 places.

Reply to: