From: chanywa Date: Sat, 3 Dec 2016 03:59:15 +0000 (+0900) Subject: fixed to prevent crash when callback function is NULL on searching place X-Git-Tag: submit/tizen/20161203.060730^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F05%2F102005%2F1;p=platform%2Fcore%2Flocation%2Fmaps-plugin-here.git fixed to prevent crash when callback function is NULL on searching place Change-Id: I645d3b4b84ab2f2d44c2eae2999a74521f24a713 --- diff --git a/lib/aarch64/libheremaps-engine.so.1 b/lib/aarch64/libheremaps-engine.so.1 index 39e4c5c..39d671f 120000 --- a/lib/aarch64/libheremaps-engine.so.1 +++ b/lib/aarch64/libheremaps-engine.so.1 @@ -1 +1 @@ -libheremaps-engine.so.1.0.6_24 \ No newline at end of file +libheremaps-engine.so.1.0.6_25 \ No newline at end of file diff --git a/lib/aarch64/libheremaps-engine.so.1.0.6_24 b/lib/aarch64/libheremaps-engine.so.1.0.6_24 deleted file mode 100755 index c040e86..0000000 Binary files a/lib/aarch64/libheremaps-engine.so.1.0.6_24 and /dev/null differ diff --git a/lib/aarch64/libheremaps-engine.so.1.0.6_25 b/lib/aarch64/libheremaps-engine.so.1.0.6_25 new file mode 100755 index 0000000..3696592 Binary files /dev/null and b/lib/aarch64/libheremaps-engine.so.1.0.6_25 differ diff --git a/lib/arm/libheremaps-engine.so.1 b/lib/arm/libheremaps-engine.so.1 index 39e4c5c..39d671f 120000 --- a/lib/arm/libheremaps-engine.so.1 +++ b/lib/arm/libheremaps-engine.so.1 @@ -1 +1 @@ -libheremaps-engine.so.1.0.6_24 \ No newline at end of file +libheremaps-engine.so.1.0.6_25 \ No newline at end of file diff --git a/lib/arm/libheremaps-engine.so.1.0.6_24 b/lib/arm/libheremaps-engine.so.1.0.6_24 deleted file mode 100755 index bbdd640..0000000 Binary files a/lib/arm/libheremaps-engine.so.1.0.6_24 and /dev/null differ diff --git a/lib/arm/libheremaps-engine.so.1.0.6_25 b/lib/arm/libheremaps-engine.so.1.0.6_25 new file mode 100755 index 0000000..202c0fa Binary files /dev/null and b/lib/arm/libheremaps-engine.so.1.0.6_25 differ diff --git a/lib/i586/libheremaps-engine.so.1 b/lib/i586/libheremaps-engine.so.1 index 39e4c5c..39d671f 120000 --- a/lib/i586/libheremaps-engine.so.1 +++ b/lib/i586/libheremaps-engine.so.1 @@ -1 +1 @@ -libheremaps-engine.so.1.0.6_24 \ No newline at end of file +libheremaps-engine.so.1.0.6_25 \ No newline at end of file diff --git a/lib/i586/libheremaps-engine.so.1.0.6_24 b/lib/i586/libheremaps-engine.so.1.0.6_24 deleted file mode 100755 index dcaccec..0000000 Binary files a/lib/i586/libheremaps-engine.so.1.0.6_24 and /dev/null differ diff --git a/lib/i586/libheremaps-engine.so.1.0.6_25 b/lib/i586/libheremaps-engine.so.1.0.6_25 new file mode 100755 index 0000000..167d9fa Binary files /dev/null and b/lib/i586/libheremaps-engine.so.1.0.6_25 differ diff --git a/lib/x86_64/libheremaps-engine.so.1 b/lib/x86_64/libheremaps-engine.so.1 index 39e4c5c..39d671f 120000 --- a/lib/x86_64/libheremaps-engine.so.1 +++ b/lib/x86_64/libheremaps-engine.so.1 @@ -1 +1 @@ -libheremaps-engine.so.1.0.6_24 \ No newline at end of file +libheremaps-engine.so.1.0.6_25 \ No newline at end of file diff --git a/lib/x86_64/libheremaps-engine.so.1.0.6_24 b/lib/x86_64/libheremaps-engine.so.1.0.6_24 deleted file mode 100755 index 1476d3b..0000000 Binary files a/lib/x86_64/libheremaps-engine.so.1.0.6_24 and /dev/null differ diff --git a/lib/x86_64/libheremaps-engine.so.1.0.6_25 b/lib/x86_64/libheremaps-engine.so.1.0.6_25 new file mode 100755 index 0000000..665e392 Binary files /dev/null and b/lib/x86_64/libheremaps-engine.so.1.0.6_25 differ diff --git a/maps-plugin-here.changes b/maps-plugin-here.changes index 927d890..9085d84 100644 --- a/maps-plugin-here.changes +++ b/maps-plugin-here.changes @@ -1,3 +1,8 @@ +[Version] maps-plugin-here_0.3.13 +[Date] 03 Dec 2016 +[Title] fixed crashes when replying for searching place +[Developer] Seechan Kim + [Version] maps-plugin-here_0.3.12 [Date] 29 Nov 2016 [Title] updated HERE maps engine library diff --git a/packaging/maps-plugin-here.spec b/packaging/maps-plugin-here.spec index f0d5929..09aaf4a 100644 --- a/packaging/maps-plugin-here.spec +++ b/packaging/maps-plugin-here.spec @@ -1,6 +1,6 @@ Name: maps-plugin-here Summary: Tizen HERE Maps Plug-in Library -Version: 0.3.12 +Version: 0.3.13 Release: 1 Group: Location/Libraries License: Apache-2.0 and HERE diff --git a/src/here_place.cpp b/src/here_place.cpp index 02c7bda..fd6af49 100644 --- a/src/here_place.cpp +++ b/src/here_place.cpp @@ -1211,6 +1211,8 @@ bool HerePlace::ProcessPlaceLinkObject(LinkObject hereLinkObject, maps_place_lin void HerePlace::__flushReplies(int error) { + if (!m_pCbFunc) return; + maps_place_h mapsPlace; maps_item_list_h placeList = NULL;