You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
TextValue stores Box<str>::into_raw() cast to *const u8 (losing the
length from the fat pointer). free() reconstructs Box<u8> (size 1
byte) and frees what the allocator tracks as a larger allocation,
corrupting the heap. This was the segfault in UDF result freeing
(hitting every test that returns text/blob from a PHP UDF, including
testFromBase64Function). Rebuild the fat pointer from the stored
length at free time.
0 commit comments