Add null character 56/223256/1 accepted/tizen/unified/20200129.022720 submit/tizen/20200128.144633
authorCheoleun Moon <chleun.moon@samsung.com>
Tue, 28 Jan 2020 13:48:26 +0000 (22:48 +0900)
committerCheoleun Moon <chleun.moon@samsung.com>
Tue, 28 Jan 2020 13:48:32 +0000 (22:48 +0900)
commit1f9605df807650d7eea5ed3bcd1e9edc9661500b
tree2fa69f9fb60e915c72954753d5793fc731573bc0
parent59329b4ace7e12eafdc2a5d85aa0047d7e8267c2
Add null character

IPv6 address in /proc/net/if_inet6 is converted by inet_pton and
inet_ntop. inet_pton() internally uses strlen(src), so its parameter
should be null-terminated.

Change-Id: I8c86b5e924327f0c3531301ed3082c048f776979
Signed-off-by: Cheoleun Moon <chleun.moon@samsung.com>
packaging/libnet-client.spec
src/network-profile-intf.c