synaptic-devel
[Top][All Lists]
Advanced

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

Re: [Synaptic-devel] RGWindow::RGWindow() may g_free() an unallocated po


From: Michael Vogt
Subject: Re: [Synaptic-devel] RGWindow::RGWindow() may g_free() an unallocated pointer
Date: Mon, 20 Jan 2003 23:30:30 +0100
User-agent: Mutt/1.4i

On Mon, Jan 20, 2003 at 09:15:44PM +0800, Anthony Fok wrote:
> Hello,
Hi,
 
> While synaptic-0.31+cvs20030120, compiled with g++-2.95, worked very
> nicely on Debian, it crashed right away when I tried to "Update List"
> or config the repository, for example, when I compiled it on Thiz Linux
> with g++-3.2.
> 
> It seems that it is in RGWindow::RGWindow() in gtk/rgwindow.cc, when
> useGlade is false, gchar* filename never got assigned, and was
> nevertheless g_free(filename) in the end.  I guess g++-3.2 (or perhaps
> with certain optimization) that gchar* filename wasn't assigned NULL to
> it.  The attach patch attempts to fix this.  It works here.  :-)

Thanks, applied.
 
bye,
 Michael

-- 
"Computers are not intelligent.  They only think they are."
        -- Martin Schulze





reply via email to

[Prev in Thread] Current Thread [Next in Thread]