Hello I also noticed this issue, and was planning to investigate it further later, but I didn't get there yet. I had a bunch of LLM-written test cases and fuzzing scripts that showcased the issue, and I now confirmed that all of them are fixed with your patches.
I'll also do a proper review of the patches next week, for now I just quickly looked at it to confirm that it fixes all of the issues I was aware of.
