From 1ce47956698c371782028a9346bd20132babaebc Mon Sep 17 00:00:00 2001 From: Kyeongchul Kim Date: Tue, 21 Aug 2012 22:21:15 +0900 Subject: release tizen_2.0 beta --- debian/changelog | 16 ++++++++++++---- packaging/tel-plugin-database.spec | 4 ++-- src/database_main.c | 8 ++++---- tel-plugin-database.manifest | 11 +++++++++++ 4 files changed, 29 insertions(+), 10 deletions(-) create mode 100644 tel-plugin-database.manifest diff --git a/debian/changelog b/debian/changelog index 65d5748..1bb4523 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,7 +1,15 @@ +tel-plugin-database (0.1.4) unstable; urgency=low + + * package version sync with public + * Git: slp/pkgs/t/tel-plugin-database + * Tag: tel-plugin-database_0.1.4 + + -- Inho Oh Mon, 02 Apr 2012 14:54:27 +0900 + tel-plugin-database (0.1.3) unstable; urgency=low * fix crash - * Git: pkgs/t/tel-plugin-database + * Git: slp/pkgs/t/tel-plugin-database * Tag: tel-plugin-database_0.1.3 -- DongHoo Park Thu, 29 Mar 2012 13:49:39 +0900 @@ -9,7 +17,7 @@ tel-plugin-database (0.1.3) unstable; urgency=low tel-plugin-database (0.1.2) unstable; urgency=low * Fix prefix (TAPI_ to TCORE_) - * Git: pkgs/t/tel-plugin-database + * Git: slp/pkgs/t/tel-plugin-database * Tag: tel-plugin-database_0.1.2 -- Inho Oh Tue, 27 Mar 2012 22:12:52 +0900 @@ -17,7 +25,7 @@ tel-plugin-database (0.1.2) unstable; urgency=low tel-plugin-database (0.1.1) unstable; urgency=low * Add .spec file for OBS - * Git: pkgs/t/tel-plugin-database + * Git: slp/pkgs/t/tel-plugin-database * Tag: tel-plugin-database_0.1.1 -- DongHoo Park Fri, 16 Mar 2012 21:14:25 +0900 @@ -25,7 +33,7 @@ tel-plugin-database (0.1.1) unstable; urgency=low tel-plugin-database (0.1.0) unstable; urgency=low * initialize - * Git: pkgs/t/tel-plugin-database + * Git: slp/pkgs/t/tel-plugin-database * Tag: tel-plugin-database_0.1.0 -- Inho Oh Thu, 15 Mar 2012 23:40:55 +0900 diff --git a/packaging/tel-plugin-database.spec b/packaging/tel-plugin-database.spec index 952e743..06282e5 100644 --- a/packaging/tel-plugin-database.spec +++ b/packaging/tel-plugin-database.spec @@ -1,7 +1,7 @@ #sbs-git:slp/pkgs/t/tel-plugin-database Name: tel-plugin-database Summary: Telephony DataBase storage plugin -Version: 0.1.3 +Version: 0.1.5 Release: 1 Group: System/Libraries License: Apache @@ -24,7 +24,7 @@ Telephony DataBase storage plugin cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix} make %{?jobs:-j%jobs} -%post +%post /sbin/ldconfig %postun -p /sbin/ldconfig diff --git a/src/database_main.c b/src/database_main.c index 093fa3c..a8f47d8 100644 --- a/src/database_main.c +++ b/src/database_main.c @@ -70,7 +70,7 @@ static gboolean update_query_database(Storage *strg, void *handle, const char *q dbg("update query"); memset(szQuery, '\0', 1000); - strcpy(szQuery, query); + strncpy(szQuery, query, 1000); rv = sqlite3_prepare_v2(handle, szQuery, strlen(szQuery), &stmt, NULL); if (rv != SQLITE_OK) { @@ -122,7 +122,7 @@ static gboolean read_query_database(Storage *strg, void *handle, const char *que dbg("read query"); memset(szQuery, '\0', 5000); - strcpy(szQuery, query); + strncpy(szQuery, query, 5000); rv = sqlite3_prepare_v2(handle, szQuery, strlen(szQuery), &stmt, NULL); if (rv != SQLITE_OK) { @@ -190,7 +190,7 @@ static gboolean insert_query_database(Storage *strg, void *handle, const char *q dbg("insert query"); memset(szQuery, '\0', 5000); - strcpy(szQuery, query); + strncpy(szQuery, query, 5000); rv = sqlite3_prepare_v2(handle, szQuery, strlen(szQuery), &stmt, NULL); if (rv != SQLITE_OK) { @@ -239,7 +239,7 @@ static gboolean remove_query_database(Storage *strg, void *handle, const char *q dbg("remove query"); memset(szQuery, '\0', 1000); - strcpy(szQuery, query); + strncpy(szQuery, query, 1000); rv = sqlite3_prepare_v2(handle, szQuery, strlen(szQuery), &stmt, NULL); if (rv != SQLITE_OK) { diff --git a/tel-plugin-database.manifest b/tel-plugin-database.manifest new file mode 100644 index 0000000..0fb5c39 --- /dev/null +++ b/tel-plugin-database.manifest @@ -0,0 +1,11 @@ + + + + + + + + + + + -- cgit v1.2.3