From 33f4d15ff340d4af428d2b111e9d84bbaadf5087 Mon Sep 17 00:00:00 2001 From: Michael Davidsaver Date: Thu, 25 Jun 2026 20:34:15 -0700 Subject: [PATCH] rsrv: log_header don't log string specially payload may not be null terminated --- modules/database/src/ioc/rsrv/camessage.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/modules/database/src/ioc/rsrv/camessage.c b/modules/database/src/ioc/rsrv/camessage.c index 37f723eee..73e3c75b6 100644 --- a/modules/database/src/ioc/rsrv/camessage.c +++ b/modules/database/src/ioc/rsrv/camessage.c @@ -304,11 +304,6 @@ static void log_header ( epicsPrintf ( "CAS: Request from %s => available=0x%x \tN=%u paddr=%p\n", hostName, mp->m_available, mnum, (pciu ? pciu->dbch : NULL)); - - if (mp->m_cmmd==CA_PROTO_WRITE && mp->m_dataType==DBF_STRING && pPayLoad ) { - epicsPrintf ( "CAS: Request from %s => Wrote string \"%s\"\n", - hostName, (char *)pPayLoad ); - } } /*