mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-01-15 23:09:36 +08:00
60857630c0
printf("%s") will print a NULL terminated string, while rt_serial_write should print buffer for size length. This also fix segfault when the string is not null terminated but specified by size.