Skip to content

Possible Memory Leakage: memmove() and memcpy() are C Functions and are Not Promised in C++ #321

Closed
ProjectNeura/LEADS-Arduino
#3
@ATATC

Description

@ATATC

This is far from the first time we have been bothered by the lack of C++ standard library on Arduino. memmove() and memcpy() are both from the C library and do not always work with C++ classes (https://stackoverflow.com/a/37913835/20819839). Therefore, they should be replaced with safe alternatives in ArrayList to avoid possible memory leakages.

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingenhancementNew feature or requesttodoNew task or assignment

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions