We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I found this error while writing tests for this module. So the effort was worth it right away.
buffer:replace with invalid replace position throw an error.
Does not abort and possibly corrupts memory.
strip_buffer = ws2812.newBuffer(5, 3) strip_buffer:replace(string.char(3,255,165,33,0,244,12,87,255), -7) strip_buffer:dump()
the last commad reboots the mcu after some seconds
NodeMCU 3.0.0.0 branch: dev commit: 0b90495
standard dev board
The text was updated successfully, but these errors were encountered:
Need to fix
static ptrdiff_t posrelat (ptrdiff_t pos, size_t len)
and adapt all occurrences if needed
Sorry, something went wrong.
ws2812
ws2812_effects
HHHartmann
No branches or pull requests
I found this error while writing tests for this module.
So the effort was worth it right away.
Expected behavior
buffer:replace with invalid replace position throw an error.
Actual behavior
Does not abort and possibly corrupts memory.
Test code
the last commad reboots the mcu after some seconds
NodeMCU version
NodeMCU 3.0.0.0
branch: dev
commit: 0b90495
Hardware
standard dev board
The text was updated successfully, but these errors were encountered: