Fix SVACE critical issue 05/322805/1 tizen
authorazijurr <azijur.r@samsung.com>
Wed, 16 Apr 2025 05:40:05 +0000 (11:40 +0600)
committerazijurr <azijur.r@samsung.com>
Wed, 16 Apr 2025 05:40:05 +0000 (11:40 +0600)
[Issue] WGID : 283766

[Cause & Measure]
Value of appControl.ExtraData could be null. So, applied null checking before dereference.

Change-Id: I04b2aef81ac4e2920483039c0ac1d8afbc9f7bad
Signed-off-by: azijurr <azijur.r@samsung.com>
SharePanel/SharePanel/Core/AppLauncher.cs

index aaa307b33d438f4ad536833d2638dceac178ed6c..bf2ec8b7d973ccbff77bb31906d9382035e685e5 100644 (file)
@@ -41,7 +41,7 @@ namespace SharePanel.Core
             {
                 appControl.Uri = files[0];
             }
-            else
+            else if (appControl.ExtraData != null)
             {
                 appControl.ExtraData.Add(key, files);
             }