diff --git a/src/burn/engine/section.cpp b/src/burn/engine/section.cpp index 989bfb175..fd3ce92cc 100644 --- a/src/burn/engine/section.cpp +++ b/src/burn/engine/section.cpp @@ -369,7 +369,7 @@ HRESULT VerifySectionMatchesMemoryPEHeader( if (sizeof(BURN_SECTION_HEADER) > pSectionHeader->SizeOfRawData) { hr = HRESULT_FROM_WIN32(ERROR_INVALID_DATA); - ExitOnRootFailure(hr, "Failed to read section info, data to short: %u", pSectionHeader->SizeOfRawData); + ExitOnRootFailure(hr, "Failed to read section info, data too short: %u", pSectionHeader->SizeOfRawData); } // Get Burn section info. diff --git a/src/ext/Firewall/wixext/FirewallDecompiler.cs b/src/ext/Firewall/wixext/FirewallDecompiler.cs index 46ab2bd15..4fafc0a00 100644 --- a/src/ext/Firewall/wixext/FirewallDecompiler.cs +++ b/src/ext/Firewall/wixext/FirewallDecompiler.cs @@ -506,6 +506,11 @@ internal static class StringExtensions { public static string ToCamelCase(this string str) { + if (String.IsNullOrEmpty(str)) + { + return str; + } + var camelCase = str[0].ToString().ToLowerInvariant() + str.Substring(1); return camelCase;