Open darshan7patel opened 6 months ago
please add proper prefix to commit title (see other commits as guideline) and include error message in commit message
I'm having trouble understanding this fix, this basically limit move_count to 255
what is exactly fixed here?
okay, so I looked at this and it appears that GCC is not able to properly track relations between globals (eg ble_store_config_num_peer_secs) and memmove in ble_store_config_delete_obj
I'd suggest to use assert() or if() to hint GCC
BTW BLE_STORE_MAX_CCCDS() might have similar issues (if also configured to 1)
Basically, the size has been increased since, when compiler optimization was enabled, it was previously creating out-of-bounds errors. So, now it will prevent these errors.
Hi,
please check if https://github.com/apache/mynewt-nimble/pull/1737 solves this issue for you