In this case the tests above definitely show that Windows doesn't do that length validation
Which test are you referring to?
without even caring about END_OF_TRACK either
That's not possible. You need to use either the length of the track or the EOT meta event to find out where a track ends.