Overview
Artifact ID: | c342fca8be9ac8d1d2cf7c6167eee4c11c5e2bb81080a352e2f4914d78b264ab |
---|---|
Ticket: | d638a04e5c45fcd217842b755a3fbc7215a58f07
[coroutine::util gets_safety] bugs |
User & Date: | falsifian 2024-12-02 01:05:06 |
Changes
- icomment:
Replying to the 2024-09-13 message from anonymous. Sorry for the slow reply. That doesn't seem to fix it. Result is the same as in my original report. It looks like `[::chan pending input $chan]` is returning 0, perhaps because nothing is pending before a read is attempted. Besides that problem, it looks like that code will attempt to read the whole line into memory, which defeats the purpose, at least for me: I wanted to avoid letting whomever controls the input force my program to allocate an unbounded amount of memory. Note: there's some discussion at https://wiki.tcl-lang.org/page/gets that might be relevant.
- login: "falsifian"
- mimetype: "text/x-markdown"