Commits

Amr Ali committed 1e1a515

Add a comment to point out a possible BoF

Signed-off-by: Amr Ali <amr.ali.cc@gmail.com>

Comments (0)

Files changed (1)

 		size_t send_size, enc_size, dec_size;
 
         /* getting message from input */
-        scanf("%s", send_buf); /* MUST free this pointer */
+        scanf("%s", send_buf); /* FIXME: A possible buffer overflow here. */
 		send_size = strlen(send_buf);
 
         encodedMessage = netstring_encode(send_buf,