From 911abff318bb1083948fd458aa7cef0bc7790aee Mon Sep 17 00:00:00 2001 From: Debian BOINC Maintainers Date: Tue, 30 Sep 2014 12:49:40 +0000 Subject: [PATCH] _increase_buffers Gbp-Pq: Name 212_increase_buffers.patch --- client/seti.cpp | 5 +++-- tools/workunit_resample.cpp | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/client/seti.cpp b/client/seti.cpp index c4a6861..6e68416 100644 --- a/client/seti.cpp +++ b/client/seti.cpp @@ -1024,10 +1024,11 @@ int seti_parse_data(FILE* f, ANALYSIS_STATE& state) { unsigned long nbytes, nsamples,samples_per_byte; sah_complex *data; unsigned long i; - char *p, buf[256]; + char *p, buf[2560]; sah_complex *bin_data=0; int retval=0; FORCE_FRAME_POINTER; + buf[0]=0; #ifdef USE_MANUAL_CALLSTACK call_stack.enter("seti_parse_data()"); #endif @@ -1042,7 +1043,7 @@ int seti_parse_data(FILE* f, ANALYSIS_STATE& state) { switch(swi.data_type) { case DATA_ASCII: for (i=0; i