Colin Clark a écrit :
> Hi
>
> If one sets up a collection with a single file, then renames that file, 
> Geeqie will crash.
>
> I believe the problem is line 661 in collect_io.c where 'path' is freed. 
> This is coming from the call in line 161 where 'buf' is set to something 
> that should not be freed.
>
> At the moment I do not understand the collection code, but for me just 
> commenting out line 661 solves the problem.
>
>
> Colin Clark
>
>
>   
Hi,

from what i see, this part of code is totally wrong.
We are trying to free mem used elsewhere due to code at lines 151-155 i 
think.
@buf is pointing to a random point in a string, in no case it should be 
freed.

I don't have time atm to fix it, let's see if Klaus can.

--
Zas



------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
_______________________________________________
Geeqie-devel mailing list
Geeqie-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geeqie-devel

Reply via email to