Pop-Up Thingie

Thunder-Line BBS
  • Home
  • Forum
  • Files
  • Log in

  1. Forum
  2. DOVE-Net
  3. Synchronet Sysops
  • Allocate extra byte for NUL-terminator in read_post_data()

    From Deuc¿@VERT 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?

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT 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.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT 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;
    ```

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • Who's Online

  • Recent Visitors

    • Xbit
      Saturday, May 16, 2026 08:17:54
      from Forest Grove, Or via SSH
    • Dr. What
      Sunday, May 10, 2026 08:12:57
      from Rockford, Mi via Telnet
    • Dr. What
      Thursday, May 07, 2026 06:43:18
      from Rockford, Mi via Telnet
    • Dr. What
      Sunday, May 03, 2026 08:30:20
      from Rockford, Mi via Telnet
  • System Info

    Sysop: Eastside75
    Location: Tupelo, MS
    Users: 7
    Nodes: 4 (0 / 4)
    Uptime: 72:06:34
    Calls: 253
    Calls today: 1
    Files: 1,247
    Messages: 37,650

© Thunder-Line BBS, 2026