Gary-Hobson commented on code in PR #8012:
URL: https://github.com/apache/nuttx/pull/8012#discussion_r1059464121


##########
drivers/syslog/vsyslog.c:
##########
@@ -67,6 +67,8 @@ static FAR const char * g_priority_str[] =
 int nx_vsyslog(int priority, FAR const IPTR char *fmt, FAR va_list *ap)
 {
   struct lib_syslogstream_s stream;
+  char buffer[128];

Review Comment:
   This buffer only stores some syslog prefixes (e.g. timerstamp pid priority), 
its maximum length is fixed and less than 128
   
   The parameters actually passed in by syslog are printed by lib_vsprintf



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to