Re: [PATCH] MIPS: R6: memcpy bugfix - zero length overwrites memory

2015-04-28 Thread Leonid Yegoshin
You right, I am debugging new core and got a wrong backtrace. Please cancel it, sorry for noise. - Leonid. Jonas Gorski wrote: Hi, On Tue, Apr 28, 2015 at 1:35 AM, Leonid Yegoshin wrote: > MIPS R6 version of memcpy has bug - then length to copy is zero > and addresses are not aligned then

Re: [PATCH] MIPS: R6: memcpy bugfix - zero length overwrites memory

2015-04-28 Thread Jonas Gorski
Hi, On Tue, Apr 28, 2015 at 1:35 AM, Leonid Yegoshin wrote: > MIPS R6 version of memcpy has bug - then length to copy is zero > and addresses are not aligned then it can overwrite a whole memory. > > Signed-off-by: Leonid Yegoshin > --- > arch/mips/lib/memcpy.S |2 ++ > 1 file changed, 2 in