From: Debian BOINC Maintainers Date: Tue, 30 Sep 2014 12:49:40 +0000 (+0000) Subject: _increase_buffers X-Git-Tag: archive/raspbian/8.00_svn3363-4+rpi1~1^2^2~8 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=911abff318bb1083948fd458aa7cef0bc7790aee;p=boinc-app-seti.git _increase_buffers Gbp-Pq: Name 212_increase_buffers.patch --- 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