From 629e2f641a723bcb1e1ead54dc8a2487b134359b Mon Sep 17 00:00:00 2001 From: Konstantina Chremmou Date: Sun, 1 Sep 2019 15:12:50 +0100 Subject: [PATCH] CA-326161: Check for null before accessing the ManualTextInstructions Signed-off-by: Konstantina Chremmou --- XenAdmin/Wizards/PatchingWizard/PatchingWizard_PatchingPage.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/XenAdmin/Wizards/PatchingWizard/PatchingWizard_PatchingPage.cs b/XenAdmin/Wizards/PatchingWizard/PatchingWizard_PatchingPage.cs index 61bfa77cc..2f0a2abaf 100644 --- a/XenAdmin/Wizards/PatchingWizard/PatchingWizard_PatchingPage.cs +++ b/XenAdmin/Wizards/PatchingWizard/PatchingWizard_PatchingPage.cs @@ -126,7 +126,7 @@ namespace XenAdmin.Wizards.PatchingWizard sb.AppendLine(string.Format(Messages.PATCHINGWIZARD_SINGLEUPDATE_SUCCESS_ONE, GetUpdateName())).AppendLine(); - if (!IsAutomaticMode && ManualTextInstructions.ContainsKey(pool)) + if (!IsAutomaticMode && ManualTextInstructions != null && ManualTextInstructions.ContainsKey(pool)) sb.Append(ManualTextInstructions[pool]).AppendLine(); return sb.ToString();