Issue with sending or receiving message with newlines #18

Closed
opened 2023-09-10 11:49:32 -04:00 by j4nk · 1 comment
Owner

Can be reproduced by running test_client.lua replacing the first message with a message containing newlines that is longer than the second message. The received message by the server has some junk after it sometimes and the first message will bleed into the second message

Can be reproduced by running `test_client.lua` replacing the first message with a message containing newlines that is longer than the second message. The received message by the server has some junk after it sometimes and the first message will bleed into the second message
Author
Owner

3d3155fc46

Caused because I assumed recvfrom() placed the nullbyte, it does not causing junk to be displayed.

https://git.thejerks.club/j4nk/open-card-table/commit/3d3155fc46db027ba2274b547a270ed43eb70f46 Caused because I assumed recvfrom() placed the nullbyte, it does not causing junk to be displayed.
j4nk closed this issue 2023-09-11 02:03:01 -04:00
Sign in to join this conversation.
No Label
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: j4nk/open-card-table#18
No description provided.