Skip to content
This repository was archived by the owner on Feb 27, 2021. It is now read-only.

Commit bc9474a

Browse files
author
Oliver
authored
Update serial.c
1 parent aef97f3 commit bc9474a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

funktion/src/core/serial.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ void serial_println(char* string)
110110
// Prints a series of ascii characters on the serial port for the specified SerialInstance.
111111
void serial_instance_print(SerialInstance* instance, char* string)
112112
{
113-
while (*string)
113+
while (*string) // Unsafe & exploitable
114114
{
115115
usart_write(&instance->_Usart, *string++);
116116
}

0 commit comments

Comments
 (0)