Fix buffer overflow #3
No reviewers
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: okhsunrog/esp_ws28xx#3
Loading…
Add table
Reference in a new issue
No description provided.
Delete branch "fixes"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
reset_delay should be initialized before malloc to prevent overflow
LGTM, thanks for the fix!
You can create a PR with support for different color orders. For example, it can be an enum with 2 options. The value would be set in ws28xx_init and stored in the internal state of the driver, then used in the ws28xx_update function. I might work on this myself in my spare time, but for now, I'm doing all of my new ESP32-C3 projects using Rust, so this library isn't actively supported.