Trailing garbage bytes in string outputs #38

Open
opened 2023-11-28 09:50:31 +01:00 by Jef Roosens · 0 comments

There's a bug occuring in a couple places where the result of lsm_str_ptr is passed to a C function that expects NULL-terminated strings. This causes the result to be appended by some garbage bytes until accidentally a NULL-byte is encountered.

One example is adding the filename header when a GET request for a file is requested.

There's a bug occuring in a couple places where the result of `lsm_str_ptr` is passed to a C function that expects NULL-terminated strings. This causes the result to be appended by some garbage bytes until accidentally a NULL-byte is encountered. One example is adding the filename header when a GET request for a file is requested.
Jef Roosens added the
Kind/Bug
label 2023-11-28 09:50:31 +01:00
Jef Roosens added this to the 0.3.0 project 2024-08-26 10:00:44 +02:00
Sign in to join this conversation.
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: Chewing_Bever/lander#38
There is no content yet.