You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by GitBox <gi...@apache.org> on 2019/07/15 21:19:08 UTC

[GitHub] [mynewt-core] andrzej-kaczmarek opened a new pull request #1915: libc/baselibc: Fix memset on ARM

andrzej-kaczmarek opened a new pull request #1915: libc/baselibc: Fix memset on ARM
URL: https://github.com/apache/mynewt-core/pull/1915
 
 
   If buffer is unaligned and fits in single word, the number of unaligned
   bytes at the end of buffer is calculated as a negative number. This
   causes memset to overwrite few bytes before actual buffer.
   
   To fix this we just need to check if calculated value is negative and
   use the other routine to fill unaligned bytes.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services