alxhoff / FreeRTOS-Emulator

POSIX based FreeRTOS emulator with SDL2 graphics interface and multiple async communications interfaces, aiming to make it possible to teach FreeRTOS without embedded hardware using similar processes
https://alxhoff.github.io/FreeRTOS-Emulator/
GNU General Public License v3.0
60 stars 105 forks source link

[BUG] Demo comms has a strange char appended to output string #40

Closed alxhoff closed 4 years ago

alxhoff commented 4 years ago

Describe the bug see title

To Reproduce run demo

Expected behavior only receive string "TCP test"

PhilippvK commented 4 years ago

How do you generate the tcp msg?

alxhoff commented 4 years ago

I think it's a static string. I imagine it's a strcpy somewhere with a +1 length or something so it's collecting some garbage before the terminator.

PhilippvK commented 4 years ago

Why is this still open?

alxhoff commented 4 years ago

turned up again :P, #43 didn't do it. I'll have a proper look some time.