[RESOLVED] Re: wget segfaults (busybox-1.4.1/uclibc)

Denis Vlasenko vda.linux at googlemail.com
Sun Feb 11 16:23:59 UTC 2007


On Thursday 08 February 2007 11:18, Natanael Copa wrote:
> parse_url sets target.path = ""
> 
> later, when guessing the out file name
> 
>  fname_out = bb_get_last_path_component(target.path);
> 
> bb_get_last_path_component() will write to target.path.

bb_get_last_component is a bad API, yes...
 
> Looks like its fixed in svn. Would be nice to have it fixed for 1.4.2.
> 
> Attached is a patch for 1.4.1.

Thanks, added to post 1.4.1 fixes
--
vda



More information about the busybox mailing list