• Kenton Varda's avatar
    Fix message corruption bug introduced in 2c9c5c83. · 4d4f831a
    Kenton Varda authored
    As of that change, adopting an empty struct into a pointer that already had some other value fails to overwrite the upper 32 bits of the pointer, thus resulting in a struct pointer with totally bogus bounds. Normally this will either cause a bounds check exception to be thrown when that pointer is later accessed, or lead to a struct containing bogus data (but if teh struct was expected to be empty, probably that data is never accessed).
    4d4f831a
layout.c++ 126 KB