aboutsummaryrefslogtreecommitdiff
path: root/src/burn
diff options
context:
space:
mode:
authorBob Arnson <bob@firegiant.com>2022-09-09 21:23:26 -0400
committerBob Arnson <github@bobs.org>2022-09-12 13:33:03 -0400
commit5059f83d7dccd7221458fca414a0756bb83466a5 (patch)
tree485ccc37c018fb806fa76ea0401cfb7bfb24d315 /src/burn
parent6a45cb7687de57056532fe897a708435deec2ea3 (diff)
downloadwix-5059f83d7dccd7221458fca414a0756bb83466a5.tar.gz
wix-5059f83d7dccd7221458fca414a0756bb83466a5.tar.bz2
wix-5059f83d7dccd7221458fca414a0756bb83466a5.zip
Support bundle updates in WixStdBA.
Fixes https://github.com/wixtoolset/issues/issues/6894.
Diffstat (limited to 'src/burn')
-rw-r--r--src/burn/engine/detect.cpp2
1 files changed, 1 insertions, 1 deletions
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(
400 APPLICATION_UPDATE_ENTRY* pAppUpdateEntry = &pApupChain->rgEntries[i]; 400 APPLICATION_UPDATE_ENTRY* pAppUpdateEntry = &pApupChain->rgEntries[i];
401 APPLICATION_UPDATE_ENCLOSURE* pEnclosure = pAppUpdateEntry->rgEnclosures; 401 APPLICATION_UPDATE_ENCLOSURE* pEnclosure = pAppUpdateEntry->rgEnclosures;
402 402
403 if (pEnclosure) 403 if (pEnclosure && pEnclosure->rgbDigest && *pEnclosure->rgbDigest)
404 { 404 {
405 hr = StrAllocHexEncode(pEnclosure->rgbDigest, pEnclosure->cbDigest, &sczHash); 405 hr = StrAllocHexEncode(pEnclosure->rgbDigest, pEnclosure->cbDigest, &sczHash);
406 ExitOnFailure(hr, "Failed to encode hash as string."); 406 ExitOnFailure(hr, "Failed to encode hash as string.");