commit(s) to merge: 857fca7
merge instructions: clean merge
reason: The change prevents certain incorrect kernel files from killing user machines by causing Dart VM to eat all available memory. Fixes #41862 and flutter/flutter#54420. The problem can affect any user and leads to very bad user experience - often the user needs to reboot their PC to recover from the OOM situation. This fix is a low risk fix - it just adds a bit more sanity checking into Kernel binary readers.
/cc @franklinyow
commit(s) to merge: 857fca7
merge instructions: clean merge
reason: The change prevents certain incorrect kernel files from killing user machines by causing Dart VM to eat all available memory. Fixes #41862 and flutter/flutter#54420. The problem can affect any user and leads to very bad user experience - often the user needs to reboot their PC to recover from the OOM situation. This fix is a low risk fix - it just adds a bit more sanity checking into Kernel binary readers.
/cc @franklinyow