[PATCH] rtems_shell_main_mmove problem

Joel Sherrill joel at rtems.org
Fri Dec 23 19:12:03 UTC 2022


Pushed. Thanks for contributing and helping close tickets that are blocking
the 6.x branch and 6.1 release from occurring.

On Thu, Dec 22, 2022 at 6:56 PM zack leung <zakthertemsdev at gmail.com> wrote:

> Bump
>
> On Wed, 14 Dec 2022 at 20:12, zack leung <zakthertemsdev at gmail.com> wrote:
>
>> Closes #4556
>> ---
>>  cpukit/libmisc/shell/main_mmove.c | 2 +-
>>  1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/cpukit/libmisc/shell/main_mmove.c
>> b/cpukit/libmisc/shell/main_mmove.c
>> index 38731b10a2..0029882d62 100644
>> --- a/cpukit/libmisc/shell/main_mmove.c
>> +++ b/cpukit/libmisc/shell/main_mmove.c
>> @@ -62,7 +62,7 @@ static int rtems_shell_main_mmove(
>>    /*
>>     *  Now copy the memory.
>>     */
>> -  memcpy(dst, src, length);
>> +  memmove(dst, src, length);
>>
>>   return 0;
>>  }
>> --
>> 2.38.1
>>
> _______________________________________________
> devel mailing list
> devel at rtems.org
> http://lists.rtems.org/mailman/listinfo/devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/devel/attachments/20221223/32825695/attachment.htm>


More information about the devel mailing list