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
The FFI bindings in this library are missing null checks and panic handlers that would avoid undefined behavior.
The documentation does warn users about conditions that will trigger undefined behavior, but the library could provide a safer interface by avoiding those sources of undefined behavior.
In particular, the bindings could:
Use is_null to check that pointers are not null before accessing them
Use catch_unwind to stop panics from unwinding across the FFI
The text was updated successfully, but these errors were encountered:
The FFI bindings in this library are missing null checks and panic handlers that would avoid undefined behavior.
The documentation does warn users about conditions that will trigger undefined behavior, but the library could provide a safer interface by avoiding those sources of undefined behavior.
In particular, the bindings could:
is_null
to check that pointers are not null before accessing themcatch_unwind
to stop panics from unwinding across the FFIThe text was updated successfully, but these errors were encountered: