Closed checkraisefold closed 1 month ago
the byond_ffi_fn macro does not validate its argc or argv received from BYOND. when no arguments are passed through call_ext, argv is a null pointer and argc is 0; slice::from_raw_parts panics on debug builds when passed a null pointer as data.
byond_ffi_fn
argc
argv
call_ext
slice::from_raw_parts
the
byond_ffi_fn
macro does not validate itsargc
orargv
received from BYOND. when no arguments are passed throughcall_ext
, argv is a null pointer and argc is 0;slice::from_raw_parts
panics on debug builds when passed a null pointer as data.