Check whether symbolic link or real file 09/277009/5
authorwn.jang <wn.jang@samsung.com>
Wed, 29 Jun 2022 05:52:08 +0000 (14:52 +0900)
committerwn.jang <wn.jang@samsung.com>
Wed, 29 Jun 2022 07:47:31 +0000 (16:47 +0900)
commite74391e7b119bce4572bd1fa2ffa1313a9877140
tree248935c3bd52b90ae722d11f93d24752924a8044
parentc2bb94f4b437770c511efd3013f5cc5b48dc6371
Check whether symbolic link or real file

If open a file in write mode and do not check whether the file is a symbolic link or not, the file can be overwritten unintentionally.
So, this commit will check whether the file is symbolic link or real file.

Change-Id: I9db8c0287b479ef7474a2525fc1de3bd39e47e22
common/vc_info_parser.c