Add a missing nullptr check 16/279116/1
authorHwankyu Jhun <h.jhun@samsung.com>
Tue, 2 Aug 2022 07:33:15 +0000 (16:33 +0900)
committerHwankyu Jhun <h.jhun@samsung.com>
Tue, 2 Aug 2022 07:33:15 +0000 (16:33 +0900)
commitde7a8913aaf60c8109826e50932c9ba68dc65517
treee0d3d1849a721ea8bf5e8e02545bf80eec942d7d
parent5e933648759d0fbc5fd59b5c5c406e1dfa5227c9
Add a missing nullptr check

Before setting the result to the argument, the function has to check
whether the argument is nullptr or not.

Change-Id: I5adb25cf7d3c08b036fb447bf1b5d088a2504bcf
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
src/pkginfo.c