From: Martin Simmons Date: Tue, 17 Mar 2020 10:04:36 +0000 (+0100) Subject: Fix bug #2525 seg fault when doing estimate with accurate and MD5 X-Git-Tag: Release-9.6.4~51 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2ed060b176840edaa3b679bd476bc71479335e80;p=thirdparty%2Fbacula.git Fix bug #2525 seg fault when doing estimate with accurate and MD5 --- diff --git a/bacula/src/filed/job.c b/bacula/src/filed/job.c index 2e419055a..98a50bd3d 100644 --- a/bacula/src/filed/job.c +++ b/bacula/src/filed/job.c @@ -305,6 +305,7 @@ static void *handle_director_request(BSOCK *dir) enable_backup_privileges(NULL, 1 /* ignore_errors */); for (quit=false; !quit;) { + jcr->buf_size = DEFAULT_NETWORK_BUFFER_SIZE; /* overriden by some commands */ if (!first) { /* first call the read is done */ /* Read command */ if (dir->recv() < 0) {