Menu

#7 RLogin bug?

closed
None
5
2020-04-30
2018-01-31
No

I'm experiencing an issue where SyncTERM doesn't always send a NULL byte after sending the terminal type line during the opening handshake. It looks like there's two different code paths based on whether the user has manually set the Comm Rate. Here's the default case, which does not send the NULL byte:

        conn_send("ansi-bbs/115200",15,1000);

And then the case where the Comm Rate has been changed, where the NULL gets sent:

        char    sbuf[30];
        sprintf(sbuf, "ansi-bbs/%d", bbs->bpsrate);
        conn_send(sbuf, strlen(sbuf)+1,1000);

Can the first case be updated to include the NULL byte?

Thanks,
Rick

Discussion

  • Stephen James Hurd

    Fixed in CVS, SyncTERM 1.1 will have this fix in it.

     
  • Stephen James Hurd

    • status: open --> closed
    • assigned_to: Stephen James Hurd
     
  • Stephen James Hurd

    • Group: Next_Major_Release --> Next_Update_Release
     
  • Rick Parrish

    Rick Parrish - 2018-02-03

    Thanks!

     

Anonymous
Anonymous

Add attachments
Cancel





MongoDB Logo MongoDB
Gen AI apps are built with MongoDB Atlas
Atlas offers built-in vector search and global availability across 125+ regions. Start building AI apps faster, all in one place.