diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2017-10-26 20:04:25 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2017-10-26 20:04:25 -0700 |
commit | 693228d82e146f96f48a4e5b8347566256989a1d (patch) | |
tree | 3f10ca466a033d45109ad6f537c51f3f2266fc71 /protsym.c | |
parent | 0da6cb45f260699fab94828110b9840783d8e079 (diff) | |
download | txr-693228d82e146f96f48a4e5b8347566256989a1d.tar.gz txr-693228d82e146f96f48a4e5b8347566256989a1d.tar.bz2 txr-693228d82e146f96f48a4e5b8347566256989a1d.zip |
carray: check type object in several API functions.
* ffi.c (carray_blank, carray_buf, carray_cptr, carray_pun):
these functions should be using ffi_type_struct_checked,
since they are public interfaces to which anything can be
passed. Otherwise TXR can easily be crashed by misusing them.
Diffstat (limited to 'protsym.c')
0 files changed, 0 insertions, 0 deletions