Fix usage of realpath 73/154873/2
authorSangyoon Jang <jeremy.jang@samsung.com>
Wed, 11 Oct 2017 10:08:12 +0000 (19:08 +0900)
committerSangyoon Jang <jeremy.jang@samsung.com>
Wed, 11 Oct 2017 10:54:21 +0000 (19:54 +0900)
commit6ac62ec7b9efc30bbd63b9c9eb2404fd996869d1
treee4cae2577a6e50e6c5669612443b9afdb79c1c16
parent70e6963d265e9042b4a1cf3aac6fec48038128d7
Fix usage of realpath

NULL is recommended for the second parameter of realpath() because of
buffer overflow.

Change-Id: I21de69b08f17c7ec3262729ec09334f16247ec84
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
plugin/app2sd/server/app2sd_internals_utils.c