From 07b51f12a283a23541bd46cbd151cc9232c7ebb2 Mon Sep 17 00:00:00 2001 From: Milan Hanajik Date: Thu, 20 Sep 2018 12:22:46 +0200 Subject: [PATCH] Prevent SW crash in bool Results.Output.Printers.Table.IsEmpty( ) --- Results/Output/Printers/Table.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Results/Output/Printers/Table.cs b/Results/Output/Printers/Table.cs index ae4781949..1618dd357 100644 --- a/Results/Output/Printers/Table.cs +++ b/Results/Output/Printers/Table.cs @@ -63,7 +63,7 @@ namespace Results.Output.Printers /// true when empty public bool IsEmpty() { - return (RowsCount == 0 || Rows[0].Length == 0); + return (Rows == null || RowsCount == 0 || Rows[0] == null || Rows[0].Length == 0); }