From fd10bff4b5084ab8584600692824c6d3269ff29e Mon Sep 17 00:00:00 2001 From: Alain Spineux Date: Fri, 16 Oct 2015 15:13:51 +0200 Subject: [PATCH] dedup fix bextract bug some pointers were not restored: if (restoredatap) { rec->data = orgdata; rec->data_len = orgdata_len; } --- bacula/src/stored/bextract.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bacula/src/stored/bextract.c b/bacula/src/stored/bextract.c index baeb42ef08..f6d65f352e 100644 --- a/bacula/src/stored/bextract.c +++ b/bacula/src/stored/bextract.c @@ -359,7 +359,8 @@ static bool record_cb(DCR *dcr, DEV_RECORD *rec) if (verbose != 1 && (num_records % 200000) == 0L) { fprintf(stderr, "\rfiles=%d records=%s\n", num_files, edit_uint64(num_records, ed1)); } - return true; + ret = true; + goto bail_out; } /* File Attributes stream */ -- 2.39.5