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
bug
label 2023-11-28 09:50:31 +01:00
Sign in to join this conversation.
No Milestone
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.