Coverity-CWE 476: NULL Pointer Dereference 84/13284/3
authorselvi.j <selvi.j@tataelxsi.co.in>
Wed, 26 Apr 2023 12:22:13 +0000 (12:22 +0000)
committergarciadeblas <gerardo.garciadeblas@telefonica.com>
Tue, 6 Jun 2023 14:27:06 +0000 (16:27 +0200)
Added fix for CWE 476: NULL Pointer Dereference (Bad use of null-like value)

Change-Id: I58f3298ee5d7a49fe209e257ef73f4bdbdc1742d
Signed-off-by: selvi.j <selvi.j@tataelxsi.co.in>
osm_nbi/nbi.py

index 343ac0d..d62e8a2 100644 (file)
@@ -1411,7 +1411,7 @@ class Server(object):
         **kwargs
     ):
         token_info = None
-        outdata = None
+        outdata = {}
         _format = None
         method = "DONE"
         engine_topic = None