mirror of
https://gitlab.com/embeddable-common-lisp/ecl.git
synced 2026-01-24 13:31:58 -08:00
Byte streams transcoding to :ucs-2 and :ucs-4 don't call ecl_set_stream_elt_type effectively not initializing .byte_buffer. Moreover functions seq_in_read_byte8 and seq_out_write_byte8 assume the vector type to be an octet based, and they increment the stream position and test for its limit according to that. That means that ecl_binary_read_byte and ecl_binary_write_byte calls would segfault when seq_in_read_byte8 and seq_out_write_byte8 are called. Both conditions could be easily mitigated by initializing .byte_buffer manually and fixing seq_*_*_byte8 functions to account for the byte size, but there is no need for that, because for these streams we are not using ecl_binary_*_byte ecl_eformat_*_byte so byte8 functions are not called and .byte_buffer is not used. |
||
|---|---|---|
| .. | ||
| bdwgc | ||
| c | ||
| clos | ||
| cmp | ||
| doc | ||
| ecl | ||
| gmp | ||
| h | ||
| libffi | ||
| lsp | ||
| tests | ||
| util | ||
| aclocal.m4 | ||
| bare.lsp.in | ||
| compile.lsp.in | ||
| config.guess | ||
| config.sub | ||
| configure | ||
| configure.ac | ||
| install.sh | ||
| Makefile.in | ||