diff options
author | Gilbok Lee <gilbok.lee@samsung.com> | 2016-12-12 18:42:14 +0900 |
---|---|---|
committer | Gilbok Lee <gilbok.lee@samsung.com> | 2016-12-12 18:42:14 +0900 |
commit | 5b983ae9a1df2aaedec06f5022dd72945dc6e4b8 (patch) | |
tree | f52ee0cb3cd471b49e9ff69da09c573b1f154e2a /src/radio_hal_interface.c | |
parent | a1f7cff1222fbf7d2a38a9f4190b7e05fafa973e (diff) | |
download | libmm-radio-5b983ae9a1df2aaedec06f5022dd72945dc6e4b8.tar.gz libmm-radio-5b983ae9a1df2aaedec06f5022dd72945dc6e4b8.tar.bz2 libmm-radio-5b983ae9a1df2aaedec06f5022dd72945dc6e4b8.zip |
Use absolute path for radio-hal dlopen to avoid malicious attacksubmit/tizen_3.0/20161215.110001submit/tizen_3.0/20161215.052132submit/tizen_3.0/20161213.081002accepted/tizen/3.0/wearable/20161216.084118accepted/tizen/3.0/mobile/20161216.083658accepted/tizen/3.0/ivi/20161216.084234accepted/tizen/3.0/common/20161216.123507
[Version] 0.2.17
[Profile] Mobile, Wearable
[Issue Type] Security
Change-Id: I41370d28635685bbbf35c35a5c7930ba7a8a1333
Diffstat (limited to 'src/radio_hal_interface.c')
-rw-r--r-- | src/radio_hal_interface.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/radio_hal_interface.c b/src/radio_hal_interface.c index e40d401..cd62ba9 100644 --- a/src/radio_hal_interface.c +++ b/src/radio_hal_interface.c @@ -25,7 +25,7 @@ extern "C" { #include "mm_radio_utils.h" #include "radio_hal_interface.h" -#define LIB_TIZEN_RADIO "libtizen-radio.so" +#define LIB_TIZEN_RADIO PATH_LIBDIR"/libtizen-radio.so" static int __convert_error_code(int code, char *func_name) { |