mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-13 07:34:50 +00:00
13 lines
342 B
C
13 lines
342 B
C
--- source/ctcp.c.orig Tue Dec 5 01:11:56 2000
|
|
+++ source/ctcp.c Tue May 27 16:55:04 2003
|
|
@@ -897,7 +897,8 @@
|
|
int len;
|
|
|
|
/* Make sure that the final \001 doesnt get truncated */
|
|
- len = IRCD_BUFFER_SIZE - (12 + strlen(to));
|
|
+ if ((len = IRCD_BUFFER_SIZE - (12 + strlen(to))) < 0)
|
|
+ return;
|
|
putbuf2 = alloca(len);
|
|
|
|
if (format)
|