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

Re: suggested mcabber updates for 6.0.1


* Philipp Kern <pkern@debian.org> [2011-03-03 21:35 +0100]:
> >  #612789 - command line corruption
> > <http://mcabber.com/hg/index.cgi/rev/75a0a22bbf78>
> Please excuse my ignorance, but how is _strmove different than strcpy?
> Do the strings in question overlap and you thus need to do it yourself
> so that different behaviour by the C library doesn't hurt you?

Exactly, we used strcpy() with overlapping strings, which could lead to
unexpected behaviour, so we replaced it with a less optimized version.


Reply to: