Juuso Alasuutari
Juuso Alasuutari
@DaveGamble are you busy with life these days? It's understandable. But it would be nice to see cJSON improve, too.
The fix is to just not bother with the janky comparison logic and use `memmove()` instead of `strcpy()`. Overlapping strings are not a problem after that. You already take the...
Bumping this to mention that #924 fixes the UB.
Again, that string overlap comparison is **Undefined Behavior**. It's not legal C.