Pop-Up Thingie

Zruspa's BBS
  • Home
  • Forum
  • Files
  • Log in

  1. Forum
  2. FidoNet Int
  3. sync sysops
  • Allocate extra byte for NUL-terminator in read_post_data()

    From Deucе@1:103/705 to GitLab note in main/sbbs on Sun Mar 8 10:53:35 2026
    https://gitlab.synchro.net/main/sbbs/-/commit/0c0cb7c473285ab8c71f209ab2ce01a421a459e7#note_8515

    Why would there be a NUL terminator?
    --- SBBSecho 3.37-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Deucе@1:103/705 to GitLab note in main/sbbs on Sun Mar 8 11:21:18 2026
    https://gitlab.synchro.net/main/sbbs/-/commit/0c0cb7c473285ab8c71f209ab2ce01a421a459e7#note_8516

    If it *does* need to be NUL terminated, you're going to have to add that space to the mapped file on disk too, and actually add the termination at some point.
    --- SBBSecho 3.37-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell@1:103/705 to GitLab note in main/sbbs on Sun Mar 8 16:39:07 2026
    https://gitlab.synchro.net/main/sbbs/-/commit/0c0cb7c473285ab8c71f209ab2ce01a421a459e7#note_8518

    Line 6630 looks to be doing the NUL-termination:
    ```
    session->req.post_data[session->req.post_len] = 0;
    ```
    --- SBBSecho 3.37-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • Who's Online

  • Recent Visitors

    • Ivan Zelenyi
      Wed Jun 10 10:18:56 2026
      from Nizhnevartovsk, Khmao via Telnet
    • Serhii Pustovoitov
      Tue Jun 9 22:18:12 2026
      from Duisburg, Germany via Telnet
    • Map
      Sun Jun 7 16:02:48 2026
      from Skelleftea, Sweden via SSH
    • Ivan Zelenyi
      Fri Jun 5 20:27:00 2026
      from Nizhnevartovsk, Khmao via Telnet
  • System Info

    Sysop: Angel Ripoll
    Location: Madrid, Spain
    Users: 19
    Nodes: 8 (0 / 8)
    Uptime: 286:40:14
    Calls: 1,213
    Files: 2,221
    D/L today: 7 files
    (7K bytes)
    Messages: 72,585

© Zruspa's BBS, 2026