Skip to content
This repository was archived by the owner on Sep 16, 2024. It is now read-only.

Conversation

@robert-hh
Copy link
Contributor

This PR attempts to fix issue #201
added:
a) check whether ota_start() was called before ota_write()
b) check that ota_write() does not write beyond the partition size
c) check that ota_write() does not erase beyond the partition size

@robert-hh robert-hh closed this Aug 30, 2019
@robert-hh robert-hh deleted the OTA branch August 30, 2019 13:32
peter-pycom pushed a commit that referenced this pull request Jan 12, 2021
…modcoap's memory handling (#208)

The following is fixed:

* Incorrectly called "free" on the "path" pointer, "path" pointer did not point to the correct memory area when free() was called
* Changed m_malloc and m_free to malloc and free because those objects not needed to be allocated on the Garbage Collector controlled heap
* Removed the "uri" member of "resource" object because it was not used
X-Ryl669 pushed a commit to X-Ryl669/pycom-micropython-sigfox that referenced this pull request May 12, 2023
…modcoap's memory handling (pycom#208)

The following is fixed:

* Incorrectly called "free" on the "path" pointer, "path" pointer did not point to the correct memory area when free() was called
* Changed m_malloc and m_free to malloc and free because those objects not needed to be allocated on the Garbage Collector controlled heap
* Removed the "uri" member of "resource" object because it was not used
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants