From: Radosław Korzeniewski Date: Wed, 15 Jan 2020 10:59:06 +0000 (+0100) Subject: docker: Replace realloc_pm() for check_size(). X-Git-Tag: Release-9.6.0~15 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c6aedfcc65fd78539e8f89958116e1a9b27c7518;p=thirdparty%2Fbacula.git docker: Replace realloc_pm() for check_size(). --- diff --git a/bacula/src/plugins/fd/docker/dkcommctx.c b/bacula/src/plugins/fd/docker/dkcommctx.c index 286de1a6d..bdf58e602 100644 --- a/bacula/src/plugins/fd/docker/dkcommctx.c +++ b/bacula/src/plugins/fd/docker/dkcommctx.c @@ -438,7 +438,7 @@ int32_t DKCOMMCTX::read_output(bpContext *ctx, POOL_MEM &out) continue; } /* it seems out buffer is too small for all data */ - out.realloc_pm(rbytes + 1024); + out.check_size(rbytes + 1024); } return rbytes; }