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 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
      Fri Apr 10 15:38:13 2026
      from Mos via Raw
    • Guest
      Mon Mar 30 02:16:00 2026
      from Mos via Raw
    • Guest
      Mon Mar 30 02:15:58 2026
      from Mos via Raw
    • Jcurtis
      Sat Mar 28 02:29:32 2026
      from Florence, Sc via Raw
  • System Info

    Sysop: Luis Silva
    Location: Lisbon
    Users: 768
    Nodes: 10 (0 / 10)
    Uptime: 493754:19:49
    Calls: 628
    Files: 46,158
    Messages: 14,586

© MSmac BBS, 2026