(cffi:foreign-string-alloc "" :null-terminated-p nil) gives an error in CLISP: *** - FFI:FOREIGN-ALLOCATE: element type has size 0: #(FFI:C-ARRAY FFI:UINT8 0)
The problem is that FFI:FOREIGN-ALLOCATE does not allow the allocation of arrays of size zero. Not sure where to fix this.