• src/syncterm/wren_bind_fs.c

    From Deucе@1:103/705 to Git commit to main/sbbs/master on Tue Aug 11 11:04:02 2026
    https://gitlab.synchro.net/main/sbbs/-/commit/9102cad0abf4bfb28455462f
    Modified Files:
    src/syncterm/wren_bind_fs.c
    Log Message:
    wren: reject failed file-position query (CID 503506)

    Return before seeking when ftell cannot obtain the current stream position, avoiding an invalid negative absolute seek.

    Co-Authored-By: OpenAI Codex <noreply@openai.com>
    --- SBBSecho 3.37-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Deucе@1:103/705 to Git commit to main/sbbs/master on Tue Aug 11 11:04:02 2026
    https://gitlab.synchro.net/main/sbbs/-/commit/9f67468c1b8b74dbee25a18d
    Modified Files:
    src/syncterm/wren_bind_fs.c
    Log Message:
    wren: handle read positioning failures (CID 503510)

    Check the seek performed before an offset read and return a typed seekFailed FileError instead of reading from an unintended stream position.

    Co-Authored-By: OpenAI Codex <noreply@openai.com>
    --- SBBSecho 3.37-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Deucе@1:103/705 to Git commit to main/sbbs/master on Tue Aug 11 11:04:02 2026
    https://gitlab.synchro.net/main/sbbs/-/commit/36d6d615f24315a2bed6b567
    Modified Files:
    src/syncterm/wren_bind_fs.c
    Log Message:
    wren: handle offset setter seek failures (CID 503511)

    Check the seek performed by File.offset=(o) and return a typed seekFailed FileError when the requested stream position cannot be established.

    Co-Authored-By: OpenAI Codex <noreply@openai.com>
    --- SBBSecho 3.37-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Deucе@1:103/705 to Git commit to main/sbbs/master on Tue Aug 11 11:04:02 2026
    https://gitlab.synchro.net/main/sbbs/-/commit/ccbf7c873bb4a4ea81aa7765
    Modified Files:
    src/syncterm/wren_bind_fs.c
    Log Message:
    wren: query open file sizes without seeking (CID 503512)

    Use XPDEV filelength on the open descriptor so size queries cannot disturb the stream position. Propagate query failures as typed statFailed errors and reject sizes outside the binding's supported long range.

    Co-Authored-By: OpenAI Codex <noreply@openai.com>
    --- SBBSecho 3.37-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Deucе@1:103/705 to Git commit to main/sbbs/master on Tue Aug 11 11:04:02 2026
    https://gitlab.synchro.net/main/sbbs/-/commit/fc45dedfd5ef36ed550ee8e7
    Modified Files:
    src/syncterm/wren_bind_fs.c
    Log Message:
    wren: handle writeLine position failures (CID 503519)

    Check ftell before using the current stream offset in File.writeLine and return a typed seekFailed FileError when the position cannot be obtained.

    Co-Authored-By: OpenAI Codex <noreply@openai.com>
    --- SBBSecho 3.37-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Deucе@1:103/705 to Git commit to main/sbbs/master on Tue Aug 11 11:04:02 2026
    https://gitlab.synchro.net/main/sbbs/-/commit/57e7b37cdb50b4791079da4c
    Modified Files:
    src/syncterm/wren_bind_fs.c
    Log Message:
    wren: handle readLine position failures (CID 503520)

    Check ftell before using the current stream offset in File.readLine and return a typed seekFailed FileError when the position cannot be obtained.

    Co-Authored-By: OpenAI Codex <noreply@openai.com>
    --- SBBSecho 3.37-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Deucе@1:103/705 to Git commit to main/sbbs/master on Tue Aug 11 11:04:02 2026
    https://gitlab.synchro.net/main/sbbs/-/commit/4fa60038b57d3633965a09d0
    Modified Files:
    src/syncterm/wren_bind_fs.c
    Log Message:
    wren: handle writeLine seek failures (CID 503522)

    Check the stream-position changes before and after File.writeLine and return typed seekFailed errors instead of writing at, or retaining, an unintended offset.

    Co-Authored-By: OpenAI Codex <noreply@openai.com>
    --- SBBSecho 3.37-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Deucе@1:103/705 to Git commit to main/sbbs/master on Tue Aug 11 11:04:02 2026
    https://gitlab.synchro.net/main/sbbs/-/commit/d922f90c8c7bb0609e0a30f6
    Modified Files:
    src/syncterm/wren_bind_fs.c
    Log Message:
    wren: handle readLine seek failures (CID 503523)

    Check the stream-position changes before and after File.readLine. Return typed seekFailed errors and release the accumulated line buffer if the final reposition fails.

    Co-Authored-By: OpenAI Codex <noreply@openai.com>
    --- SBBSecho 3.37-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)