Pop-Up Thingie

The Gate BBS
  • Home
  • Forum
  • Files
  • Games
  • More
    • User List
  • Register
  • Log in

  1. Forum
  2. FidoNet
  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 Sunday, March 08, 2026 10:53:35
    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 Sunday, March 08, 2026 11:21:18
    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 Sunday, March 08, 2026 16:39:07
    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

    • Trucking2020
      Tuesday, April 28, 2026 09:56:20
      from South Kearny, NJ via Telnet
    • Trucking2020
      Tuesday, April 28, 2026 09:15:12
      from South Kearny, NJ via Telnet
    • Dr. What
      Tuesday, April 28, 2026 08:49:13
      from Rockford, MI via Telnet
    • Vish
      Tuesday, April 28, 2026 07:39:52
      from Jersey City, NJ via Telnet
    • Axego
      Tuesday, April 28, 2026 07:17:13
      from Zuckerberg via RLogin
  • System Info

    Sysop: Gate Keeper
    Location: Shelby, NC
    Users: 833
    Nodes: 20 (0 / 20)
    Uptime: 144:47:53
    Calls: 14,275
    Calls today: 5
    Files: 5,294
    D/L today: 43 files
    (32,319K bytes)
    Messages: 647,509

© The Gate BBS, 2026