[
https://issues.apache.org/jira/browse/MYNEWT-77?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15147599#comment-15147599
]
William San Filippo commented on MYNEWT-77:
-------------------------------------------
The following checks have been added when freeing a memory block:
* If a block is outside the range of the memory pool an error is returned.
* If a block freed is not on a valid block boundary an error is returned.
> Add more checks to make sure item being freed to memory pool belongs to that
> pool
> ---------------------------------------------------------------------------------
>
> Key: MYNEWT-77
> URL: https://issues.apache.org/jira/browse/MYNEWT-77
> Project: Mynewt
> Issue Type: Improvement
> Components: OS
> Affects Versions: v0_8_0_beta1
> Reporter: William San Filippo
> Assignee: William San Filippo
> Fix For: v0_8_0_beta2
>
>
> Currently we do not do any checking on a memory block being freed (added back
> to the its memory pool). There are a number of checks that could be done to
> insure that the memory block does indeed belong to the memory pool
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)