From 7e509132be9873bd1a78734fa821480b80aa67df Mon Sep 17 00:00:00 2001 From: g8bpq Date: Sat, 30 Nov 2024 21:23:34 +0000 Subject: [PATCH] 6.0.24.52 --- BPQMail.c | 2 +- Bpq32.c | 1 + HALDriver.c | 4 ++-- SerialPort.c | 2 +- Versions.h | 4 ++-- config.c | 6 +++--- kiss.c | 4 ++-- 7 files changed, 12 insertions(+), 11 deletions(-) diff --git a/BPQMail.c b/BPQMail.c index 5d26cd5..70061d7 100644 --- a/BPQMail.c +++ b/BPQMail.c @@ -1144,7 +1144,7 @@ // Include SERVIC as valid from call (for Winlink Service messages) (49) // Attempt to detect line draw characters in Webmail (50) // Fix sending ampr.org mail when RMS is not enabled (51) -// Send forwarding info tp packetnodes.spots.radio database (51) +// Send forwarding info to packetnodes.spots.radio database (51) #include "bpqmail.h" #include "winstdint.h" diff --git a/Bpq32.c b/Bpq32.c index 1125b31..e51f9d0 100644 --- a/Bpq32.c +++ b/Bpq32.c @@ -1235,6 +1235,7 @@ along with LinBPQ/BPQ32. If not, see http://www.gnu.org/licenses // API format fixes (48) // AGWAPI Add protection against accidental connects from a non-agw application (50) // Save MH and NODES every hour (51) +// Fix handling long unix device names (now max 250 bytes) (52) #define CKernel diff --git a/HALDriver.c b/HALDriver.c index c8ba897..b15d4fe 100644 --- a/HALDriver.c +++ b/HALDriver.c @@ -471,7 +471,7 @@ VOID * HALExtInit(EXTPORTDATA * PortEntry) int port; char * ptr; int len; - char Msg[80]; + char Msg[512]; #ifndef LINBPQ HWND x; #endif @@ -548,7 +548,7 @@ VOID * HALExtInit(EXTPORTDATA * PortEntry) TNC->WebWinX = 510; TNC->WebWinY = 280; - TNC->WEB_COMMSSTATE = zalloc(100); + TNC->WEB_COMMSSTATE = zalloc(512); TNC->WEB_TNCSTATE = zalloc(100); strcpy(TNC->WEB_TNCSTATE, "Free"); TNC->WEB_MODE = zalloc(100); diff --git a/SerialPort.c b/SerialPort.c index 15bbc95..004f2ff 100644 --- a/SerialPort.c +++ b/SerialPort.c @@ -735,7 +735,7 @@ VOID SerialReleasePort(struct TNCINFO * TNC) VOID * SerialExtInit(EXTPORTDATA * PortEntry) { int port; - char Msg[255]; + char Msg[512]; char * ptr; struct TNCINFO * TNC; char * TempScript; diff --git a/Versions.h b/Versions.h index df74f46..97116cb 100644 --- a/Versions.h +++ b/Versions.h @@ -10,8 +10,8 @@ #endif -#define KVers 6,0,24,51 -#define KVerstring "6.0.24.51\0" +#define KVers 6,0,24,52 +#define KVerstring "6.0.24.52\0" #ifdef CKernel diff --git a/config.c b/config.c index 818e24d..1c549b7 100644 --- a/config.c +++ b/config.c @@ -187,7 +187,7 @@ int FromLOC(char * Locator, double * pLat, double * pLon); VOID Consoleprintf(const char * format, ...) { - char Mess[255]; + char Mess[512]; va_list(arglist); va_start(arglist, format); @@ -2412,11 +2412,11 @@ int doSerialPortName(int i, char * value, char * rec) { rec += 8; - if (strlen(rec) > 79) + if (strlen(rec) > 250) { Consoleprintf("Serial Port Name too long - Truncated"); Consoleprintf("%s\r\n",rec); - rec[79] = 0; + rec[250] = 0; } strlop(rec, ' '); diff --git a/kiss.c b/kiss.c index 0066f2b..8c21d44 100644 --- a/kiss.c +++ b/kiss.c @@ -209,7 +209,7 @@ VOID EnableFLDIGIReports(struct PORTCONTROL * PORT) VOID ASYDISP(struct PORTCONTROL * PortVector) { - char Msg[80]; + char Msg[512]; if (PortVector->PORTIPADDR.s_addr || PortVector->KISSTCP) @@ -235,7 +235,7 @@ VOID ASYDISP(struct PORTCONTROL * PortVector) int ASYINIT(int comport, int speed, struct PORTCONTROL * PortVector, char Channel ) { - char Msg[80]; + char Msg[256]; NPASYINFO npKISSINFO; int BPQPort = PortVector->PORTNUMBER;