You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by "anjiahao1 (via GitHub)" <gi...@apache.org> on 2023/09/26 03:38:27 UTC

[GitHub] [nuttx] anjiahao1 opened a new pull request, #10810: mm:fix warning

anjiahao1 opened a new pull request, #10810:
URL: https://github.com/apache/nuttx/pull/10810

   mm_heap/mm_initialize.c:69:11: warning: array subscript -1 is outside array bounds of 'void[2147483647]' [-Warray-bounds]
      69 |       node->pid = MM_BACKTRACE_MEMPOOL_PID;
         |           ^~
   mm_heap/mm_initialize.c:64:9: note: at offset -16 into object of size [0, 2147483647] allocated by 'mm_memalign'
      64 |   ret = mm_memalign(arg, alignment, size);
   
   ## Summary
   mm:fix warning
   ## Impact
   mm
   ## Testing
   sim
   


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [nuttx] xiaoxiang781216 merged pull request #10810: mm:fix warning

Posted by "xiaoxiang781216 (via GitHub)" <gi...@apache.org>.
xiaoxiang781216 merged PR #10810:
URL: https://github.com/apache/nuttx/pull/10810


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org