diff options
author | Divy Srivastava <dj.srivastava23@gmail.com> | 2023-01-21 07:51:14 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-21 21:21:14 +0530 |
commit | 59289255411b902588619fd7d2f6e3e48af11d82 (patch) | |
tree | a328e565abb1695e57c99538d6482f62e5008cad /test_napi/arraybuffer_test.js | |
parent | 638b6ef554676422c43cc5c0ae2285ba369740bf (diff) |
fix(ext/ffi): disallow empty ffi structs (#17487)
This patch makes `NativeType` to `libffi::middle::Type` conversion
failliable and w.t disallows struct with empty fields. libffi does not
handle "empty" struct because they don't exist in C (or Rust).
Fixes #17481
Diffstat (limited to 'test_napi/arraybuffer_test.js')
0 files changed, 0 insertions, 0 deletions