(backport) sysctl: Don't pass null directive argument to '%s'
authorKhem Raj <raj.khem@gmail.com>
Mon, 17 Dec 2018 04:53:38 +0000 (20:53 -0800)
committerŁukasz Stelmach <l.stelmach@samsung.com>
Mon, 12 Feb 2024 15:37:44 +0000 (16:37 +0100)
commit3fd7fe3bace1133b4db7313dd19c9ef38e7a4aa2
tree1a1c144739670af68b2d709998c5cbd0328f73e9
parent4acc4d9083c4c16078fa2c8c679103bb60d6c2a7
(backport) sysctl: Don't pass null directive argument to '%s'

value pointer here is always NULL but  subsequent use of that pointer
with a %s format will always be NULL, printing p instead would be a
valid string

Change-Id: Ib74f46d69eaf5e3d149523d53beef1f060a5fc16
Signed-off-by: Khem Raj <raj.khem@gmail.com>
src/sysctl/sysctl.c