From 2b2588097ab2bb4256ada0066cc041e182452e22 Mon Sep 17 00:00:00 2001 From: Li-Wen Hsu Date: Thu, 30 Oct 2025 17:23:22 +0800 Subject: net/vncreflector: Fix a buffer overrun issue While here, regen the patches and add license information PR: 290129 Reported by: Chun Cheng Yeh --- net/vncreflector/files/patch-logging.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'net/vncreflector/files/patch-logging.c') diff --git a/net/vncreflector/files/patch-logging.c b/net/vncreflector/files/patch-logging.c index c141be209a50..1fa105e0080d 100644 --- a/net/vncreflector/files/patch-logging.c +++ b/net/vncreflector/files/patch-logging.c @@ -1,6 +1,6 @@ ---- logging.c +--- logging.c.orig 2003-04-21 17:20:35 UTC +++ logging.c -@@ -138,8 +138,6 @@ +@@ -138,8 +138,6 @@ void log_write(int level, char *format, ...) char time_buf[32]; char level_char = ' '; @@ -9,7 +9,7 @@ if ( (log_fp != NULL && level <= log_file_level) || level <= log_stderr_level ) { now = time(NULL); -@@ -150,18 +148,21 @@ +@@ -150,18 +148,21 @@ void log_write(int level, char *format, ...) if (level <= log_file_level) { fprintf(log_fp, "%s %c ", time_buf, (int)level_char); -- cgit v1.2.3