[MPlayer-dev-eng] Use of memcpy with overlapping memory instead of memmove
attila
attila at pai.kinali.ch
Sun Jul 18 06:51:26 CEST 2004
On Tue, Apr 06, 2004 at 01:56:20PM +0200, Alex Beregszaszi wrote:
> Hi,
>
> > >> While I was editing mencoder.c I saw a few memcpy's with potential
> > >> overlapping source and destination.
> >
> > > i think that's only of academic interest. or did you see an actual
> > > memcpy implementation that copies backwards?
> >
> > I've seen (and created) some of them ... :-)
> >
> > Point is of course, that it is better to just follow specifications.
> > Just rely on the fact that most implementations will work anyway, even
> > though it is not guaranteed, is kind of sloppy IMHO.
> Any progress on fixing these issues?:)
Looks like nobody cares enough.
Attila Kinali
More information about the MPlayer-dev-eng
mailing list