On Tuesday 24 June 2008 18:30, walter harms wrote:
> hi Denys,
> i guess  the memmove is not needed at all.
> Then ^@ seems to appear only when i run vi in gdb.
> 
> i am somewhat confused as i has never see this before.

I reproduced it. memmove is needed.

> on the other since i can still reproduce my crash even with
> a plain ./busybox vi :(
> 
> NTL: i am running out of ideas can you reproduce my crash ?

By adding tons of debug printouts a la

bb_error_msg("HERE %s var1:%p var2:%d", __func__, var1, vars);

running "vi 2>logfile" and finding where it breaks
and what values are in the variables.

I intentionally insert them with no indentation
so they stand out in the source.
--
vda


_______________________________________________
busybox mailing list
[email protected]
http://busybox.net/cgi-bin/mailman/listinfo/busybox

Reply via email to