From 5059f83d7dccd7221458fca414a0756bb83466a5 Mon Sep 17 00:00:00 2001 From: Bob Arnson Date: Fri, 9 Sep 2022 21:23:26 -0400 Subject: Support bundle updates in WixStdBA. Fixes https://github.com/wixtoolset/issues/issues/6894. --- src/burn/engine/detect.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/burn') diff --git a/src/burn/engine/detect.cpp b/src/burn/engine/detect.cpp index 25d184c1..fcd1c966 100644 --- a/src/burn/engine/detect.cpp +++ b/src/burn/engine/detect.cpp @@ -400,7 +400,7 @@ static HRESULT DetectAtomFeedUpdate( APPLICATION_UPDATE_ENTRY* pAppUpdateEntry = &pApupChain->rgEntries[i]; APPLICATION_UPDATE_ENCLOSURE* pEnclosure = pAppUpdateEntry->rgEnclosures; - if (pEnclosure) + if (pEnclosure && pEnclosure->rgbDigest && *pEnclosure->rgbDigest) { hr = StrAllocHexEncode(pEnclosure->rgbDigest, pEnclosure->cbDigest, &sczHash); ExitOnFailure(hr, "Failed to encode hash as string."); -- cgit v1.2.3-55-g6feb