FFI: Ensure library is loaded before de-serializing FFI types.

Reported by ImagicTheCat.
This commit is contained in:
Mike Pall
2022-01-15 18:32:34 +01:00
parent d5a237eae0
commit c21c6cb417
2 changed files with 5 additions and 0 deletions

View File

@@ -448,6 +448,10 @@ encoded data. The stand-alone function throws when there's left-over
data after decoding a single top-level object. The buffer method leaves
any left-over data in the buffer.
</p>
<p>
Attempting to de-serialize an FFI type will throw an error, if the FFI
library is not built-in or has not been loaded, yet.
</p>
<h3 id="serialize_options">Serialization Options</h3>
<p>