From 42999aeda343b0652a9ab6286243434905bc371a Mon Sep 17 00:00:00 2001 From: Debian BOINC Maintainers Date: Tue, 28 Aug 2012 03:05:07 +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 50ac77f..1ac0ac3 100644 --- a/client/seti.cpp +++ b/client/seti.cpp @@ -844,10 +844,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; nsamples = swi.nsamples; samples_per_byte=(8/swi.bits_per_sample); @@ -859,7 +860,7 @@ int seti_parse_data(FILE* f, ANALYSIS_STATE& state) { switch(swi.data_type) { case DATA_ASCII: for (i=0; i