Pop-Up Thingie

MSmac BBS
  • Home
  • Forum
  • Files
  • Register
  • Log in

  1. Forum
  2. DOVE-Net
  3. Synchronet Sysops Only
  • 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

    • Jcurtis
      Saturday, March 14, 2026 19:02:39
      from Florence, Sc via Raw
    • Jcurtis
      Saturday, March 14, 2026 18:29:54
      from Florence, Sc via Raw
    • Jcurtis
      Sunday, March 15, 2026 16:39:23
      from Florence, Sc via Raw
    • Jcurtis
      Sunday, March 15, 2026 00:52:37
      from Florence, Sc via Raw
  • System Info

    Sysop: Luis Silva
    Location: Lisbon
    Users: 768
    Nodes: 10 (0 / 10)
    Uptime: 57:46:26
    Calls: 621
    Calls today: 2
    Files: 46,973
    Messages: 14,010

© MSmac BBS, 2026