]> git.pld-linux.org Git - packages/epic4.git/blob - epic4-security-CAN-2003-0328.patch
- new
[packages/epic4.git] / epic4-security-CAN-2003-0328.patch
1 diff -urN epic4-1.0.1.orig/source/ctcp.c epic4-1.0.1/source/ctcp.c
2 --- epic4-1.0.1.orig/source/ctcp.c      2000-12-05 01:11:56.000000000 +0100
3 +++ epic4-1.0.1/source/ctcp.c   2004-05-12 12:51:18.539497392 +0200
4 @@ -898,6 +898,8 @@
5  
6         /* Make sure that the final \001 doesnt get truncated */
7         len = IRCD_BUFFER_SIZE - (12 + strlen(to));
8 +       if ((len = IRCD_BUFFER_SIZE - (12 + strlen(to))) < 0)
9 +               return;
10         putbuf2 = alloca(len);
11  
12         if (format)
This page took 0.0572 seconds and 3 git commands to generate.