Pop-Up Thingie

KC7STW
  • 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 Sun Mar 8 10:53:35 2026
    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 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.

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

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

  • Recent Visitors

    • Guest
      Sat Oct 10 00:33:16 2026
      from Seattle, Wa via Telnet
    • Guest
      Fri Oct 9 19:57:49 2026
      from Berlin,berlin via Telnet
    • Guest
      Fri Oct 9 13:41:58 2026
      from Flatland via Raw
    • Guest
      Fri Oct 9 02:22:41 2026
      from Anderson,Indiana via Telnet
  • System Info

    Sysop: Jason
    Location: Nevada City, CA
    Users: 5
    Nodes: 8 (0 / 8)
    Uptime: 00:19:13
    Calls: 46
    Calls today: 46
    Messages: 25,220
    Posted today: 14

© KC7STW, 2026