You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by GitBox <gi...@apache.org> on 2021/11/30 15:15:54 UTC
[GitHub] [incubator-nuttx] slorquet opened a new pull request #4921: fix overflow checks in mtdpart
slorquet opened a new pull request #4921:
URL: https://github.com/apache/incubator-nuttx/pull/4921
When creating a partition, compare erase sector partition limits with parent device erase sector count, not write blocks.
## Summary
you can create partitions larger than the parent device
## Impact
this is bad
## Testing
old code did not detect the error on my board
new code does detect the problem
seriously, you are all administrators of this project. so you dont care to spend one hour on a simple fix. but you should have a simplified process to accept simple changes from simple people without all this mess.
--
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] [incubator-nuttx] xiaoxiang781216 merged pull request #4921: fix overflow checks in mtdpart
Posted by GitBox <gi...@apache.org>.
xiaoxiang781216 merged pull request #4921:
URL: https://github.com/apache/incubator-nuttx/pull/4921
--
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