Closed
Description
Bring over #7762 and #8043 to the v4.1 branch.
I marked this as "minor" because although technically it's a bug in MPI conformance, this bug has been un-noticed -- for years -- in both Open MPI and MPICH. So it's definitely not too important.
But OTOH, it should be simple cherry-picks from master to v4.1.x. Hopefully, it's easy to do.