diff options
author | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2025-08-10 11:40:03 +0300 |
---|---|---|
committer | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2025-08-10 11:40:03 +0300 |
commit | f22bc5171f733d1f9a6f3daeab8233386e79c320 (patch) | |
tree | e439f502215548827d81b5cc8fb192fab7c311f6 /lib/lexers/yaml.tes | |
parent | 20b5a04370ac987807af73526b22dfe6e8a08a3d (diff) | |
download | sciteco-f22bc5171f733d1f9a6f3daeab8233386e79c320.tar.gz |
allow messages to be of arbitrary length: fixes crashes
* Messages can be arbitrarily long, e.g. the following could provoke crashes in interactive mode
`1000<@I/X/> HX$`
It's hard to turn into a test case, though, as you could always increase the buffer
size in teco_interface_msg().
* The message length is now only limited by RAM.
* This implementation is less effective, but code opting for efficience,
including all programmable user messages, should not rely on the printf-API anyway
but use teco_interface_msg_literal().
Diffstat (limited to 'lib/lexers/yaml.tes')
0 files changed, 0 insertions, 0 deletions