summaryrefslogtreecommitdiffstats
path: root/utf8.h
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2017-05-18 20:48:15 -0700
committerKaz Kylheku <kaz@kylheku.com>2017-05-18 20:48:15 -0700
commit30061be2a8e1fae63513aa2732d16ed26283e595 (patch)
tree455754dbcec428b646a10a39b87e85c428068033 /utf8.h
parent8d18fe8b9f0eb8052777931ef5fdf3e401254b87 (diff)
downloadtxr-30061be2a8e1fae63513aa2732d16ed26283e595.tar.gz
txr-30061be2a8e1fae63513aa2732d16ed26283e595.tar.bz2
txr-30061be2a8e1fae63513aa2732d16ed26283e595.zip
ffi: bugfix: obj could be nil in buf ops.
* ffi.c (ffi_buf_in): Only get the original pointer if obj isn't nil; otherwise use a null pointer. (ffi_buf_d_in): Don't refer to length_buf(obj); obj could be nil. And anyway, we know the buffer size from the type.
Diffstat (limited to 'utf8.h')
0 files changed, 0 insertions, 0 deletions