Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
I've been hit with this assertion when using lwip in esphome (libretiny fork) with assertions enabled. ``` ASSERT "invalid next ptr" - /config/.esphome/platformio/packages/library-lwip@src-c718385076ab23087e1f617d7cb3e11a/src/core/mem.c:790 ``` I don't fully grasp what's happening here, apart that its some memory chunks optimizations/defragmentation stuff. But I "smell" the assertion checks the wrong pointer. This whole code block it seems to be mostly about mem2, also mem->next is reassigned anyway in the line 755... It seems to be a very rare case (when we're at the end of heap, correct?), so I recon nobody has yet found this.
- Loading branch information