diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2017-04-28 06:12:13 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2017-04-28 06:12:13 -0700 |
commit | 046fcbaca4d0abb62b572231a5f941514e92d35b (patch) | |
tree | 4e3e8b99da703044b3410844efda11a801f51c25 /lib.c | |
parent | 6b7a88b83ff5f3574e05a7677c65a232d667d52c (diff) | |
download | txr-046fcbaca4d0abb62b572231a5f941514e92d35b.tar.gz txr-046fcbaca4d0abb62b572231a5f941514e92d35b.tar.bz2 txr-046fcbaca4d0abb62b572231a5f941514e92d35b.zip |
ffi: use chk_calloc for txr_ffi_type.
Let's defend against uninitialized struct member bugs over
this type which has grown somewhat complicated.
* ffi.c (make_ffi_type_struct): Use chk_calloc for tft.
(make_ffi_type_array): Likewise, and remove a couple of
explicit zero initializations.
Diffstat (limited to 'lib.c')
0 files changed, 0 insertions, 0 deletions