File: cs_print_string-MAX_BUF-plus

package info (click to toggle)
crossfire-client 1.75.3-1
  • links: PTS
  • area: main
  • in suites: trixie
  • size: 4,972 kB
  • sloc: ansic: 17,084; perl: 78; sh: 23; python: 21; makefile: 12; xml: 6
file content (11 lines) | stat: -rw-r--r-- 222 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
--- a/common/newsocket.c
+++ b/common/newsocket.c
@@ -253,7 +253,7 @@
 {
     va_list args;
     SockList sl;
-    guint8 buf[MAX_BUF];
+    guint8 buf[MAX_BUF+3];
 
     SockList_Init(&sl, buf);
     va_start(args, str);