ecore_con: Fix potentional problems around ecore_con 00/199900/1
authorWonki Kim <wonki_.kim@samsung.com>
Wed, 13 Feb 2019 04:06:36 +0000 (04:06 +0000)
committerWonki Kim <wonki_.kim@samsung.com>
Fri, 15 Feb 2019 08:51:35 +0000 (17:51 +0900)
commit24c31a1fb8155d3ecba7c9e39ae52d1457118036
tree53b4e1e05542c0ddad059a84010901734fbaca05
parent904dbbcf9b860eef8c8722cae2fe4173302ebef9
ecore_con: Fix potentional problems around ecore_con

non-thread safe functions are used like rand(), strerror().
this patch replace them with thread safe one.
and also this patch contains a change to fix a memory leak problem.

Reviewed-by: Cedric BAIL <cedric.bail@free.fr>
Differential Revision: https://phab.enlightenment.org/D7917

Change-Id: Ibfa8cbdef468666c738ebd4d7ca725c2bd06dd05
src/lib/ecore_con/ecore_con.c
src/lib/ecore_con/ecore_con_legacy.c
src/lib/ecore_con/ecore_con_local.c
src/lib/ecore_con/ecore_con_url.c
src/lib/ecore_con/efl_net_dialer_http.c
src/lib/ecore_con/efl_net_server_fd.c
src/lib/ecore_con/efl_net_server_udp.c
src/lib/ecore_con/efl_net_socket_udp.c
src/lib/ecore_con/efl_net_ssl_ctx-gnutls.c
src/lib/ecore_con/efl_net_ssl_ctx-openssl.c