monitor: Fix invalid access
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Mon, 8 Mar 2021 22:08:16 +0000 (14:08 -0800)
committerAyush Garg <ayush.garg@samsung.com>
Fri, 11 Mar 2022 13:38:34 +0000 (19:08 +0530)
commit9a88bf42880d1ad6ae0f59a665e7f67fa907ca16
treed7d8a75f601c3495c5a71b04ab8220796f16422a
parentd5431e19986f02f47f6d59a2b41ec6729710eca4
monitor: Fix invalid access

ident can be NULL when printing user logs which may lead ot invalid
access.

Fixes: https://github.com/bluez/bluez/issues/92
Signed-off-by: Anuj Jain <anuj01.jain@samsung.com>
Signed-off-by: Ayush Garg <ayush.garg@samsung.com>
monitor/packet.c