platform/core/api/nsd.git
5 years agoRemove invalid memory access 91/210791/1 accepted/tizen_5.5_unified_mobile_hotfix accepted/tizen_5.5_unified_wearable_hotfix tizen_5.5_mobile_hotfix tizen_5.5_tv tizen_5.5_wearable_hotfix accepted/tizen/5.5/unified/20191031.030512 accepted/tizen/5.5/unified/mobile/hotfix/20201027.065220 accepted/tizen/5.5/unified/wearable/hotfix/20201027.121201 accepted/tizen/unified/20190809.035649 submit/tizen/20190808.035002 submit/tizen_5.5/20191031.000002 submit/tizen_5.5_mobile_hotfix/20201026.185102 submit/tizen_5.5_wearable_hotfix/20201026.184302 tizen_5.5.m2_release
Cheoleun Moon [Thu, 25 Jul 2019 00:11:54 +0000 (09:11 +0900)]
Remove invalid memory access

Change-Id: I22774f2d8041328772728b383edca2de4f9ef6b3
Signed-off-by: Cheoleun Moon <chleun.moon@samsung.com>
5 years agoMake a gcov package for coverage 65/208865/1 accepted/tizen/unified/20190705.110726 submit/tizen/20190702.011709 submit/tizen/20190704.043443 submit/tizen/20190705.002457 submit/tizen/20190705.002836
Cheoleun Moon [Mon, 1 Jul 2019 01:51:47 +0000 (10:51 +0900)]
Make a gcov package for coverage

Change-Id: I0070c5b71f26233c2697c870864cb544fc7e0218
Signed-off-by: Cheoleun Moon <chleun.moon@samsung.com>
5 years agoFix doxygen #2 24/205224/1 accepted/tizen/unified/20190502.112838 submit/tizen/20190502.001050
Seonah Moon [Tue, 30 Apr 2019 08:28:23 +0000 (17:28 +0900)]
Fix doxygen #2

Change-Id: I0ddbd3126cd0827b8849452fee098aaacbfe646d

5 years agoFix doxygen 65/205165/1 submit/tizen/20190430.024353
Cheoleun Moon [Tue, 30 Apr 2019 01:44:18 +0000 (10:44 +0900)]
Fix doxygen

Change-Id: I55d4f6e197c0789b3254a2989fe2b35f83225a20
Signed-off-by: Cheoleun Moon <chleun.moon@samsung.com>
5 years agoFix heap-use-after-free issue 53/204853/1 accepted/tizen/unified/20190429.103813 submit/tizen/20190429.012857
Cheoleun Moon [Mon, 29 Apr 2019 01:18:34 +0000 (10:18 +0900)]
Fix heap-use-after-free issue

Change-Id: If84ff301e9dd0ec05150210986e38e02d8e76518
Signed-off-by: Cheoleun Moon <chleun.moon@samsung.com>
5 years agoRemove useless local variables 15/202115/2 accepted/tizen/unified/20190325.070948 submit/tizen/20190325.013255
Cheoleun Moon [Mon, 25 Mar 2019 01:18:39 +0000 (10:18 +0900)]
Remove useless local variables

Change-Id: I52e6dffea4a4ddbbf18c6fc9bec8884a0dd3f22f
Signed-off-by: Cheoleun Moon <chleun.moon@samsung.com>
5 years ago[ASAN] Fix heap-use-after-free (2) 14/202114/1
Cheoleun Moon [Mon, 25 Mar 2019 00:57:20 +0000 (09:57 +0900)]
[ASAN] Fix heap-use-after-free (2)

After a DNSServiceRef was released in dnssd_deregister_local_service(), it is
accessed in __dnssd_process_result(). It is because
a socket I/O event happened before the DNSServiceRef was released and as
a result __dnssd_process_result() was added to event loop.

Change-Id: I94d8bd45009b06ee63a52f726aaf8ce1a2cccf97
Signed-off-by: Cheoleun Moon <chleun.moon@samsung.com>
5 years ago[ASAN] Fix heap-use-after-free 05/201905/2
Cheoleun Moon [Thu, 21 Mar 2019 01:01:03 +0000 (10:01 +0900)]
[ASAN] Fix heap-use-after-free

DNSServiceRef of a registered service is freed but not assigned to NULL.
It leads to read the DNSServiceRef value in the next call.

Change-Id: I3e9f6e31c89ddb26c8ef09268a5fcdcc464837e9
Signed-off-by: Cheoleun Moon <chleun.moon@samsung.com>
6 years agoFix resource leak (SATIZENVUL-1629, 1630, 1632, 1633) 23/191423/4 accepted/tizen/unified/20181107.082026 submit/tizen/20181106.045243
Cheoleun Moon [Wed, 17 Oct 2018 04:43:57 +0000 (13:43 +0900)]
Fix resource leak (SATIZENVUL-1629, 1630, 1632, 1633)

Change-Id: I5e937d5fec56a02ef1fd7ab99949e2aa7cfa7ad2
Signed-off-by: Cheoleun Moon <chleun.moon@samsung.com>
6 years agoReduce dbus timeout value to 15 second 82/188882/1 accepted/tizen/5.0/unified/20181102.013917 accepted/tizen/unified/20180917.041342 submit/tizen/20180912.042809 submit/tizen/20180916.233341 submit/tizen_5.0/20181101.000002
Aditya Raj [Tue, 11 Sep 2018 17:04:30 +0000 (22:34 +0530)]
Reduce dbus timeout value to 15 second

120 second is long time for dbus timeout so changed it to 15 second

Change-Id: I460729c9e1de089d588efc3c7d4b76e3a65ae1f0
Signed-off-by: Aditya Raj <aditya1.raj@samsung.com>
6 years agoFix typo 10/187710/1 accepted/tizen/unified/20180829.142537 submit/tizen/20180828.043551
chleun.moon [Tue, 28 Aug 2018 04:25:13 +0000 (13:25 +0900)]
Fix typo

Change-Id: I2f5f0dd3fe11ada26aff4cb4a0024fd064afb88b
Signed-off-by: Cheoleun Moon <chleun.moon@samsung.com>
Change-Id22: Id17188a5470a8165dcde400bfdc4994702636664
Signed-off-by: Cheoleun Moon <chleun.moon@samsung.com>
6 years agoFixed invalid read issue when printing txt_record 56/187156/1 accepted/tizen/unified/20180822.093801 submit/tizen/20180821.002826
Saurav Babu [Mon, 20 Aug 2018 09:23:27 +0000 (14:53 +0530)]
Fixed invalid read issue when printing txt_record

g_strdup only duplicates the string where as here it was required to
copy txt_len bytes. When txt_len is greater than length of txt_record
then invalid read issue occured as only length of txt_record was copied

Change-Id: Ifda849d7b24a030a38bc5bfcff870ac66b044588
Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
6 years ago[CID-77971,76678] Fix memory leak 46/175746/2 accepted/tizen/unified/20180413.073628 submit/tizen/20180413.011058
Seonah Moon [Thu, 12 Apr 2018 05:55:57 +0000 (14:55 +0900)]
[CID-77971,76678] Fix memory leak

Change-Id: I2fba599c04755753180231feb25b546861a793e4

6 years ago[CID-74740] Fix memory leak 31/174631/2 accepted/tizen/unified/20180406.062028 submit/tizen/20180404.081806
Seonah Moon [Tue, 3 Apr 2018 08:28:05 +0000 (17:28 +0900)]
[CID-74740] Fix memory leak

Change-Id: I4c72aa17511b632986b51fd9e405888611f139e3

6 years agoFix memory leak - test_found_cb 95/174495/1 accepted/tizen/unified/20180406.062056 submit/tizen/20180403.231154
Taesoo Jun [Mon, 2 Apr 2018 10:47:55 +0000 (19:47 +0900)]
Fix memory leak - test_found_cb

Change-Id: I1be91624807e9c0df7d9bcee7cf64dfa5f517339

6 years ago[SSDP] Bug fix 51/174051/2 accepted/tizen/unified/20180403.182505 submit/tizen/20180329.042536
chleun.moon [Tue, 27 Mar 2018 23:19:54 +0000 (08:19 +0900)]
[SSDP] Bug fix

Change-Id: I72800955ba2b3e0c58be9e8126ccf68995ddd8a3
Signed-off-by: Cheoleun Moon <chleun.moon@samsung.com>
6 years agoMerge "nsd: Fixed issue in which socket is being closed twice" into tizen accepted/tizen/unified/20180316.062514 accepted/tizen/unified/20180320.141344 submit/tizen/20180315.075559 submit/tizen/20180318.231541 submit/tizen/20180320.043504
cheoleun moon [Wed, 14 Mar 2018 08:20:19 +0000 (08:20 +0000)]
Merge "nsd: Fixed issue in which socket is being closed twice" into tizen

6 years agoFix not null terminated string 11/172211/4
Jiung [Mon, 12 Mar 2018 23:50:16 +0000 (08:50 +0900)]
Fix not null terminated string

Change-Id: Ie3ac0e977876dd2f59ca3fcdc5be44f67240bd69
Signed-off-by: Yu jiung <jiung.yu@samsung.com>
6 years agonsd: Fixed issue in which socket is being closed twice 59/172059/1
Saurav Babu [Fri, 9 Mar 2018 09:10:23 +0000 (14:40 +0530)]
nsd: Fixed issue in which socket is being closed twice

Change-Id: I3cdbe4d9e93e205727e6dac6165dc86d473e67b8
Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
6 years agoFix api reference 33/165933/1 accepted/tizen/unified/20180108.062541 submit/tizen/20180105.051034
chleun.moon [Fri, 5 Jan 2018 02:11:03 +0000 (11:11 +0900)]
Fix api reference

Change-Id: I885f9f1a5ae49ef7fccc3d2d8c7d56598f740992
Signed-off-by: Cheoleun Moon <chleun.moon@samsung.com>
6 years ago[DNS-SD] Fix bug 31/159931/1 accepted/tizen/unified/20171114.062738 submit/tizen/20171114.015921
chleun.moon [Tue, 14 Nov 2017 00:48:52 +0000 (09:48 +0900)]
[DNS-SD] Fix bug

Change-Id: If301c7114fe8cd9e73c3c63d67459c860884af07
Signed-off-by: Cheoleun Moon <chleun.moon@samsung.com>
7 years agoimprove line Coverage 83/154483/1 accepted/tizen/unified/20171011.150228 submit/tizen/20171011.035354
chleun.moon [Tue, 10 Oct 2017 09:11:17 +0000 (18:11 +0900)]
improve line Coverage

Change-Id: I339ac3b3368e715bae5721ef5fa1dc134f91bfd0
Signed-off-by: Cheoleun Moon <chleun.moon@samsung.com>
7 years ago[CID-33513, 41081] Fix bug 36/154336/2 accepted/tizen/unified/20171011.065858 submit/tizen/20171010.084928
chleun.moon [Tue, 10 Oct 2017 05:33:57 +0000 (14:33 +0900)]
[CID-33513, 41081] Fix bug

Change-Id: I1acbbc947b7ad7458f2914caf5f3e309401c2c3a
Signed-off-by: Cheoleun Moon <chleun.moon@samsung.com>
7 years ago[CID-24737, 27526, 31321] Fix bugs 84/153184/1 accepted/tizen/unified/20170929.081859 submit/tizen/20170928.232941
chleun.moon [Thu, 28 Sep 2017 05:14:19 +0000 (14:14 +0900)]
[CID-24737, 27526, 31321] Fix bugs

Change-Id: I38e98e9cc89b0be19d4d8237c503ba1370acb219
Signed-off-by: Cheoleun Moon <chleun.moon@samsung.com>
7 years ago[DNS-SD] Revert the wrong modification 27/150827/1 accepted/tizen/unified/20170921.072219 submit/tizen/20170920.020838
chleun.moon [Tue, 19 Sep 2017 01:00:55 +0000 (10:00 +0900)]
[DNS-SD] Revert the wrong modification

Change-Id: Ieedff7bf8eb0f74252c3535d4e88b225138d4629
Signed-off-by: Cheoleun Moon <chleun.moon@samsung.com>
7 years agovariable initialization for safe code 16/148216/1 accepted/tizen/unified/20170913.071038 submit/tizen/20170911.125730
Taesoo Jun [Thu, 7 Sep 2017 06:40:00 +0000 (15:40 +0900)]
variable initialization for safe code

Change-Id: I66e7ed089b4f38e74b178073d503297c8057a894

7 years agovariable initialization for safe code 15/148215/1
Taesoo Jun [Thu, 7 Sep 2017 06:37:25 +0000 (15:37 +0900)]
variable initialization for safe code

Change-Id: I4e99621f52323dec4f8a966ef635d3623381dcf9

7 years agoAdd codes to check internet privilege 34/146134/1 accepted/tizen/unified/20170901.025936 submit/tizen/20170825.060613 submit/tizen/20170830.065642
chleun.moon [Fri, 25 Aug 2017 06:00:55 +0000 (15:00 +0900)]
Add codes to check internet privilege

Change-Id: Iaed13fc5e5d3e3f38e73b06b59b9d04f482ac413
Signed-off-by: cheoleun <chleun.moon@samsung.com>
7 years agoMerge "nsd: Remove resolve and getaddrinfo sockets when browsing is stopped" into... accepted/tizen/4.0/unified/20170828.223843 accepted/tizen/unified/20170811.133325 submit/tizen/20170811.041528 submit/tizen_4.0/20170828.100002
taesub kim [Wed, 9 Aug 2017 23:05:33 +0000 (23:05 +0000)]
Merge "nsd: Remove resolve and getaddrinfo sockets when browsing is stopped" into tizen

7 years ago[ACR-1019] Add internet privilege 42/137342/4
chleun.moon [Wed, 5 Jul 2017 08:57:28 +0000 (17:57 +0900)]
[ACR-1019] Add internet privilege

Change-Id: Ifb0b916780c725bc73bdcec88bc7164d3cd5c9b8
Signed-off-by: cheoleun <chleun.moon@samsung.com>
7 years agonsd: Remove resolve and getaddrinfo sockets when browsing is stopped 37/143337/2
Saurav Babu [Wed, 9 Aug 2017 09:44:04 +0000 (15:14 +0530)]
nsd: Remove resolve and getaddrinfo sockets when browsing is stopped

Change-Id: If8b676cf8df6ad51b5acbfe4f87c8ee0f5afb500
Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
7 years ago[SSDP] gssdp_resource_group_set_available should be called before gssdp_resource_grou... 58/143058/1 accepted/tizen/unified/20170811.021054 submit/tizen/20170809.085632
chleun.moon [Tue, 8 Aug 2017 09:19:13 +0000 (18:19 +0900)]
[SSDP] gssdp_resource_group_set_available should be called before gssdp_resource_group_remove_resource

Change-Id: I2f310b5aa2b2336ce03900de910f8e62f9a63b16
Signed-off-by: cheoleun <chleun.moon@samsung.com>
7 years agoFix memory leak (WGID-253281) 68/134468/1 accepted/tizen/4.0/unified/20170816.010631 accepted/tizen/4.0/unified/20170816.014338 accepted/tizen/unified/20170705.162711 submit/tizen/20170620.103311 submit/tizen/20170623.070816 submit/tizen/20170703.033637 submit/tizen/20170705.021515 submit/tizen_4.0/20170811.094300 submit/tizen_4.0/20170814.115522 submit/tizen_4.0_unified/20170814.115522
chleun.moon [Mon, 19 Jun 2017 00:46:52 +0000 (09:46 +0900)]
Fix memory leak (WGID-253281)

Change-Id: I0da23fa2ffe7339c71af88274b1aacf774e9825c
Signed-off-by: cheoleun <chleun.moon@samsung.com>
7 years agodnssd: Fix issue where Browse Unavailable callback was not received 02/133702/1 accepted/tizen/unified/20170630.083014 submit/tizen/20170615.020639
Saurav Babu [Tue, 13 Jun 2017 06:52:02 +0000 (12:22 +0530)]
dnssd: Fix issue where Browse Unavailable callback was not received

In a special scenario when registered service name contains "space" then
Browse Unavailable callback was not received when service was
deregistered. This was because mdnsd replaced "space" with "\032" in
DNSServiceResolve callback. This patch fixes the issue by using service
name from DNSServiceBrowse callback rather than DNSServiceResolve
callback

Change-Id: I51388110b9b2d1f210ef6cdd55c0b10199f66a18
Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
7 years agoModified API reference feature link 66/130366/1 accepted/tizen/unified/20170531.082410 submit/tizen/20170523.030944
taesub kim [Mon, 22 May 2017 06:40:26 +0000 (15:40 +0900)]
Modified API reference feature link

Change-Id: I6bb72221a08b1f92c2bd896d39c2990253f94fbe
Signed-off-by: Taesub Kim <taesub.kim@samsung.com>
7 years agoFix bugs 26/127126/3 accepted/tizen/unified/20170428.032834 submit/tizen/20170427.090631 tizen_4.0.m1_release
chleun.moon [Wed, 26 Apr 2017 08:12:59 +0000 (17:12 +0900)]
Fix bugs

dns-sd: invalid memory access
ssdp: remove found services as stopping browsing

Change-Id: I7a14b665f51a15bf39d66ac6756461499656caa2
Signed-off-by: cheoleun <chleun.moon@samsung.com>
7 years agoFix crash when calling ssdp_stop_browsing_service() 54/123254/1 accepted/tizen/unified/20170406.054810 submit/tizen/20170405.061651
chleun.moon [Wed, 5 Apr 2017 05:30:28 +0000 (14:30 +0900)]
Fix crash when calling ssdp_stop_browsing_service()

Change-Id: I7455e192bd503bcc453486619e119f079eb6ebc8
Signed-off-by: cheoleun <chleun.moon@samsung.com>
7 years agoChange 'Feature List' link 33/122633/1 accepted/tizen_common accepted/tizen_ivi accepted/tizen_mobile accepted/tizen_tv accepted/tizen_wearable accepted/tizen/common/20170404.142803 accepted/tizen/ivi/20170404.060825 accepted/tizen/mobile/20170404.060700 accepted/tizen/tv/20170404.060745 accepted/tizen/unified/20170404.060851 accepted/tizen/wearable/20170404.060806 submit/tizen/20170404.011910
chleun.moon [Mon, 3 Apr 2017 05:35:29 +0000 (14:35 +0900)]
Change 'Feature List' link

Change-Id: I1a9e386858ede1849f94c79f253609bbed49bb46
Signed-off-by: cheoleun <chleun.moon@samsung.com>
7 years ago[ssdp] Add error check 34/121534/2 accepted/tizen/common/20170403.190032 accepted/tizen/ivi/20170403.124600 accepted/tizen/mobile/20170403.124314 accepted/tizen/tv/20170403.124419 accepted/tizen/unified/20170403.124617 accepted/tizen/wearable/20170403.124447 submit/tizen/20170403.015738
chleun.moon [Tue, 28 Mar 2017 07:22:32 +0000 (16:22 +0900)]
[ssdp] Add error check

Check if the target is NULL in ssdp_create_local_service().
SSDP_ERROR_INVALID_PARAMETER is returned when NULL is passed as target

Change-Id: Ibcc9cf094c6935e056961f62556cff16f3105879
Signed-off-by: cheoleun <chleun.moon@samsung.com>
7 years agoMerge "Added NOTICE file" into tizen accepted/tizen/common/20170313.162326 accepted/tizen/ivi/20170313.042630 accepted/tizen/mobile/20170313.042534 accepted/tizen/tv/20170313.042558 accepted/tizen/unified/20170313.042653 accepted/tizen/wearable/20170313.042615 submit/tizen/20170313.001510
taesub kim [Thu, 9 Mar 2017 07:24:18 +0000 (23:24 -0800)]
Merge "Added NOTICE file" into tizen

7 years agoAdded NOTICE file 79/118179/1
taesub kim [Thu, 9 Mar 2017 05:56:47 +0000 (14:56 +0900)]
Added NOTICE file

Change-Id: I99b56742fe5d3e295c6c7acb0f2ff2172c478a03
Signed-off-by: Taesub Kim <taesub.kim@samsung.com>
7 years agoFix @detail comments for dnssd_service_add_txt_record 02/116802/1
chleun.moon [Tue, 28 Feb 2017 09:02:11 +0000 (18:02 +0900)]
Fix @detail comments for dnssd_service_add_txt_record

dnssd_service_add_txt_record() has been fixed to allow to call before dnssd_register_local_service()

Change-Id: Iabbb14f825ab6f50bb5f032b56810a76b509150e
Signed-off-by: cheoleun <chleun.moon@samsung.com>
7 years agoNSD: Allow application to add TXT Records at the time of registering service 35/113435/1 accepted/tizen/common/20170210.170527 accepted/tizen/ivi/20170214.011046 accepted/tizen/mobile/20170214.010842 accepted/tizen/tv/20170214.010929 accepted/tizen/unified/20170309.032141 accepted/tizen/wearable/20170214.011014 submit/tizen/20170210.072732 submit/tizen/20170210.083740 submit/tizen_unified/20170308.100405
Saurav Babu [Tue, 7 Feb 2017 12:07:31 +0000 (17:37 +0530)]
NSD: Allow application to add TXT Records at the time of registering service

Change-Id: I0713d24409a805b88e612a5d5813be27d0e4ae9b
Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
7 years ago[NSD] Intialize service handler before browsing service 12/110312/1
Saurav Babu [Fri, 13 Jan 2017 17:42:31 +0000 (23:12 +0530)]
[NSD] Intialize service handler before browsing service

service handler's address is passed as an argument to
dnssd_start_browsing_service() so it should always be initialized so
that it is not compared with any garbage/previously assigned values.

Change-Id: Id2ffe5e5623a6b359ced11bd53675395d36f6969
Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
7 years agoClose unnecessary socket after use 14/110214/6
Jiung Yu [Fri, 13 Jan 2017 17:55:07 +0000 (23:25 +0530)]
Close unnecessary socket after use

Change-Id: I36430e4d9fe324881d17fc1e50828c4b4f4ff139
Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
7 years agoFix warnings when generating 3.0 API reference 27/108927/1
chleun.moon [Fri, 6 Jan 2017 07:59:20 +0000 (16:59 +0900)]
Fix warnings when generating 3.0 API reference

Change-Id: I395866ca14a998f01b7b726037cde5807d6a1a37
Signed-off-by: cheoleun <chleun.moon@samsung.com>
7 years ago[DNS-SD] Fixed memory leak 16/106216/1 accepted/tizen/common/20161222.131132 accepted/tizen/ivi/20161223.095031 accepted/tizen/mobile/20161223.094938 accepted/tizen/tv/20161223.094950 accepted/tizen/wearable/20161223.095007 submit/tizen/20161222.015926
chleun.moon [Wed, 21 Dec 2016 01:30:02 +0000 (10:30 +0900)]
[DNS-SD] Fixed memory leak

Change-Id: If800fc13339b6a286db35dcc825a12f7c37db2c7
Signed-off-by: cheoleun <chleun.moon@samsung.com>
7 years agoModify the header and documentation 09/105609/2
chleun.moon [Mon, 19 Dec 2016 05:58:26 +0000 (14:58 +0900)]
Modify the header and documentation

Signed-off-by: cheoleun <chleun.moon@samsung.com>
Change-Id: I5bd7524351d87fbc8c7c32ed789ee5c302ec63da

7 years agoFix Svace issues WGID 158459, 158460, 158461 93/102693/2 accepted/tizen/common/20161207.184701 accepted/tizen/ivi/20161208.012348 accepted/tizen/mobile/20161208.012331 accepted/tizen/tv/20161208.012337 accepted/tizen/wearable/20161208.012345 submit/tizen/20161207.113457
Yu Jiung [Tue, 6 Dec 2016 10:14:36 +0000 (19:14 +0900)]
Fix Svace issues WGID 158459, 158460, 158461

Change-Id: Icbe824b55f148e5bf06458e4b48c90b4977b8db3
Signed-off-by: Yu jiung <jiung.yu@samsung.com>
7 years agoFix Svace issue 150323 06/101806/1
Yu Jiung [Fri, 2 Dec 2016 07:19:27 +0000 (16:19 +0900)]
Fix Svace issue 150323

Change-Id: I7dfd8c5dd79295b73824c00c1d59d000e886c657
Signed-off-by: Yu jiung <jiung.yu@samsung.com>
7 years agoChange byte order of port number for register and resolve reply function 99/98299/3 accepted/tizen/common/20161125.095636 accepted/tizen/ivi/20161128.000834 accepted/tizen/mobile/20161128.000712 accepted/tizen/tv/20161128.000804 accepted/tizen/wearable/20161128.000818 submit/tizen/20161125.052705
Yu Jiung [Thu, 17 Nov 2016 03:35:25 +0000 (12:35 +0900)]
Change byte order of port number for register and resolve reply function

Description : Register and resolve reply  function use the port number as
"Network Byte Order". For more information about this topic, please find
https://developer.apple.com/reference/dnssd/1804733-dnsserviceregister
https://developer.apple.com/reference/dnssd/dnsserviceresolvereply

Change-Id: Icb0f0746d10adfb3815e794f7921cf7125606c48
Signed-off-by: Yu jiung <jiung.yu@samsung.com>
8 years agoRemove reference warning 62/89262/1 accepted/tizen/3.0/common/20161114.105258 accepted/tizen/3.0/ivi/20161011.055404 accepted/tizen/3.0/mobile/20161015.033941 accepted/tizen/3.0/tv/20161016.005258 accepted/tizen/3.0/wearable/20161015.083607 accepted/tizen/common/20160928.164132 accepted/tizen/ivi/20160929.081226 accepted/tizen/mobile/20160929.081117 accepted/tizen/tv/20160929.081201 accepted/tizen/wearable/20160929.081036 submit/tizen/20160928.053415 submit/tizen_3.0_common/20161104.104000 submit/tizen_3.0_ivi/20161010.000005 submit/tizen_3.0_mobile/20161015.000005 submit/tizen_3.0_tv/20161015.000004 submit/tizen_3.0_wearable/20161015.000004
chleun.moon [Fri, 23 Sep 2016 01:54:46 +0000 (10:54 +0900)]
Remove reference warning

Change-Id: If8409750f105f2e5dd44718e25b584626131c28d
Signed-off-by: cheoleun <chleun.moon@samsung.com>
8 years agoAdded license clause to some files 93/88593/1 accepted/tizen/common/20160921.162559 accepted/tizen/ivi/20160922.041851 accepted/tizen/mobile/20160922.045936 accepted/tizen/tv/20160922.041754 accepted/tizen/wearable/20160922.041828 submit/tizen/20160921.025733 submit/tizen/20160921.055232
chleun.moon [Tue, 20 Sep 2016 02:17:25 +0000 (11:17 +0900)]
Added license clause to some files

Change-Id: Ifa32bcb067e82dd33c85049c31dc8ddc65e6c09e
Signed-off-by: cheoleun <chleun.moon@samsung.com>
8 years ago[NSD] Send dbus unique name in LaunchMdns 93/88293/1
Saurav Babu [Fri, 16 Sep 2016 06:01:12 +0000 (11:31 +0530)]
[NSD] Send dbus unique name in LaunchMdns

This patch removes dbus method UnrefMdns and sends dbus unique name as
parameter in LaunchMdns so that net-config can register NameOwnerChanged
callback for unique name and identify when application exits.

Change-Id: I93827860a89e9e6e99be2b5d9295b642324d6451
Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
8 years ago[NSD] No need to process DNSServiceResolve reply if kDNSServiceFlagsMoreComing is set 50/87150/1 accepted/tizen/common/20160907.154216 accepted/tizen/ivi/20160908.003641 accepted/tizen/mobile/20160908.003513 accepted/tizen/tv/20160908.003550 accepted/tizen/wearable/20160908.003615 submit/tizen/20160907.003226 submit/tizen/20160907.012754
Saurav Babu [Tue, 6 Sep 2016 13:23:28 +0000 (18:53 +0530)]
[NSD] No need to process DNSServiceResolve reply if kDNSServiceFlagsMoreComing is set

Change-Id: Ief64422e5bb4a82cddb77f05b17b82b4d691a5c2
Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
8 years agoAdd internal header to devel package 19/86419/1
Yu Jiung [Thu, 1 Sep 2016 06:21:48 +0000 (15:21 +0900)]
Add internal header to devel package

Change-Id: I3e4bbe653c62811b700ce5a0787dfcce84527ebd
Signed-off-by: Yu jiung <jiung.yu@samsung.com>
8 years agoMerge "Added functions to support using a specific interface for registration and... accepted/tizen/common/20160831.161418 accepted/tizen/ivi/20160831.124354 accepted/tizen/mobile/20160831.124306 accepted/tizen/tv/20160831.124316 accepted/tizen/wearable/20160831.124337 submit/tizen/20160831.004932
chleun.moon [Tue, 30 Aug 2016 10:17:27 +0000 (03:17 -0700)]
Merge "Added functions to support using a specific interface for registration and browsing" into tizen

8 years agoAdded functions to support using a specific interface for registration and browsing 27/85627/1
chleun.moon [Fri, 26 Aug 2016 07:27:02 +0000 (16:27 +0900)]
Added functions to support using a specific interface for registration and browsing

Change-Id: Ie1f5d1cf497f8aff036142a6992af913b4f92d0e
Signed-off-by: cheoleun <chleun.moon@samsung.com>
8 years agoFixed feature check 49/83949/1 accepted/tizen/common/20160818.144049 accepted/tizen/ivi/20160818.231620 accepted/tizen/mobile/20160818.231603 accepted/tizen/tv/20160818.231612 accepted/tizen/wearable/20160818.231554 submit/tizen/20160818.002458
chleun.moon [Tue, 16 Aug 2016 02:56:29 +0000 (11:56 +0900)]
Fixed feature check

Change-Id: Ic86022a323e6ff507c1eea11036724a53e0827f9
Signed-off-by: cheoleun <chleun.moon@samsung.com>
8 years agoRevised to reduce the launch delay of mdnsresponder 60/82160/1 accepted/tizen/common/20160805.125955 accepted/tizen/ivi/20160809.010808 accepted/tizen/mobile/20160809.010714 accepted/tizen/tv/20160809.010726 accepted/tizen/wearable/20160809.010747 submit/tizen/20160805.043523
chleun.moon [Mon, 1 Aug 2016 08:12:13 +0000 (17:12 +0900)]
Revised to reduce the launch delay of mdnsresponder
It causes large delay to check whether the mdnsd is alive or not by
querying the version of mdnsresponder when the mdnsd daemon is not
loaded.

Change-Id: I8c37f4e0bfa05c27698cd0c2399382c9b7054548

8 years agoAdd comments for line coverage 10/78610/1 accepted/tizen/common/20160712.150403 accepted/tizen/ivi/20160711.084615 accepted/tizen/mobile/20160711.084558 accepted/tizen/tv/20160711.084555 accepted/tizen/wearable/20160711.084538 submit/tizen/20160711.045150
chleun.moon [Wed, 6 Jul 2016 08:15:21 +0000 (17:15 +0900)]
Add comments for line coverage

Change-Id: Ie7f3971201fbfb8e35dc2527ee331d29c257c7f9
Signed-off-by: cheoleun <chleun.moon@samsung.com>
8 years agoApplied coding rules 50/78550/1 accepted/tizen/common/20160706.142332 accepted/tizen/ivi/20160706.083116 accepted/tizen/mobile/20160706.083044 accepted/tizen/tv/20160706.083013 accepted/tizen/wearable/20160706.083032 submit/tizen/20160706.055116
chleun.moon [Wed, 6 Jul 2016 05:17:20 +0000 (14:17 +0900)]
Applied coding rules

Change-Id: I7a258a4d5c249fe67b336f21c0ec26fc76e99062
Signed-off-by: cheoleun <chleun.moon@samsung.com>
8 years ago[NSD] Allow application to add/browse multiple TXT Records 44/75544/1 accepted/tizen/common/20160621.184455 accepted/tizen/ivi/20160623.120453 accepted/tizen/mobile/20160623.120354 accepted/tizen/tv/20160623.120412 accepted/tizen/wearable/20160623.120434 submit/tizen/20160621.060739 submit/tizen/20160621.234856
Saurav Babu [Mon, 20 Jun 2016 10:21:19 +0000 (15:51 +0530)]
[NSD] Allow application to add/browse multiple TXT Records

Change-Id: I77e58bf9237ed52f53a410baa094f46f34f2c8c2
Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
8 years agoApply coding rules 07/74407/3 accepted/tizen/common/20160616.151804 accepted/tizen/ivi/20160617.081458 accepted/tizen/mobile/20160617.081146 accepted/tizen/tv/20160617.081234 accepted/tizen/wearable/20160617.081309 submit/tizen/20160615.100519 submit/tizen/20160616.005920
chleun.moon [Tue, 14 Jun 2016 07:05:26 +0000 (16:05 +0900)]
Apply coding rules

Change-Id: I01ef59be6723fcc137a83003e4420901723057b6
Signed-off-by: cheoleun <chleun.moon@samsung.com>
8 years ago[nsd] Add Asynchronous method to handle mDNSResponder events 49/73549/1 accepted/tizen/common/20160610.182317 accepted/tizen/ivi/20160613.021719 accepted/tizen/mobile/20160613.021659 accepted/tizen/tv/20160613.021715 accepted/tizen/wearable/20160613.021647 submit/tizen/20160610.015106
Saurav Babu [Wed, 8 Jun 2016 12:14:43 +0000 (17:44 +0530)]
[nsd] Add Asynchronous method to handle mDNSResponder events

Change-Id: I7262e3cfd5f340f11d0f5e034ec1a29f5e8fece1
Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
8 years agoMerge "Remove unused build flag & Remove the gcov flag" into tizen accepted/tizen/common/20160603.151059 accepted/tizen/ivi/20160606.040628 accepted/tizen/mobile/20160606.035238 accepted/tizen/tv/20160606.035926 accepted/tizen/wearable/20160606.040126 submit/tizen/20160603.083223
taesub kim [Fri, 3 Jun 2016 08:02:18 +0000 (01:02 -0700)]
Merge "Remove unused build flag & Remove the gcov flag" into tizen

8 years agoRemove unused build flag & Remove the gcov flag 72/71372/6
Yu Jiung [Wed, 25 May 2016 07:03:16 +0000 (16:03 +0900)]
Remove unused build flag & Remove the gcov flag

Change-Id: I51725e80874c2438107b84fbb2078987c9558adf

8 years ago[NSD] Check for DNS Service Flag before calling Browse Service Callback 06/71906/1 accepted/tizen/common/20160602.140306 accepted/tizen/ivi/20160602.231006 accepted/tizen/mobile/20160602.231029 accepted/tizen/tv/20160602.230950 accepted/tizen/wearable/20160602.230943 submit/tizen/20160602.082230
Saurav Babu [Fri, 27 May 2016 11:52:57 +0000 (17:22 +0530)]
[NSD] Check for DNS Service Flag before calling Browse Service Callback

Change-Id: Ifefbbc682dd4f3c359e95351fed454883796257d
Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
8 years ago[NSD] No need to notify application if kDNSServiceFlagsMoreComing is set 98/71898/1
Saurav Babu [Fri, 27 May 2016 11:23:22 +0000 (16:53 +0530)]
[NSD] No need to notify application if kDNSServiceFlagsMoreComing is set

Change-Id: Idcc079d1fa17740b5d8bb17d9beac0ed9dbf45b0
Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
8 years ago[NSD] Check found handle before calling browse callback 81/71681/1
Saurav Babu [Thu, 26 May 2016 12:03:24 +0000 (17:33 +0530)]
[NSD] Check found handle before calling browse callback

Change-Id: I490f75c50b7f827157c8853c0617f4595adb4b9c
Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
8 years agoPrevent unexpected mdns termination 74/69074/1 accepted/tizen/common/20160512.143754 accepted/tizen/common/20160513.123326 accepted/tizen/ivi/20160513.004551 accepted/tizen/mobile/20160513.004238 accepted/tizen/tv/20160513.004538 accepted/tizen/wearable/20160513.004544 submit/tizen/20160511.111211 submit/tizen/20160512.075241
chleun.moon [Wed, 11 May 2016 10:25:51 +0000 (19:25 +0900)]
Prevent unexpected mdns termination

Change-Id: I7eefd94221d5a2e3d5c432c467ce6781d7a9d57a
Signed-off-by: cheoleun <chleun.moon@samsung.com>
8 years ago[SVACE] Fixed svace errors 65/68165/1 accepted/tizen/common/20160504.130243 accepted/tizen/ivi/20160504.012625 accepted/tizen/mobile/20160504.012533 accepted/tizen/tv/20160504.012549 accepted/tizen/wearable/20160504.012606 submit/tizen/20160503.120331
chleun.moon [Tue, 3 May 2016 00:52:04 +0000 (09:52 +0900)]
[SVACE] Fixed svace errors

Change-Id: I1b1b1a4d67b2d09a5c0db51c3dbd3eca155cd666
Signed-off-by: cheoleun <chleun.moon@samsung.com>
8 years agoFix build error for 64-bit target 69/65069/1 accepted/tizen/common/20160407.133034 accepted/tizen/ivi/20160407.112025 accepted/tizen/mobile/20160407.111937 accepted/tizen/tv/20160407.111951 accepted/tizen/wearable/20160407.112008 submit/tizen/20160407.075511
chleun.moon [Thu, 7 Apr 2016 06:46:40 +0000 (15:46 +0900)]
Fix build error for 64-bit target

Change-Id: Ib7e7edb00e2c719cd338ef2b9aa9ab574826a4ad
Signed-off-by: cheoleun <chleun.moon@samsung.com>
8 years agoAdd logic for on-demand mdnsd daemon 40/65040/2 submit/tizen/20160407.054315
chleun.moon [Thu, 7 Apr 2016 04:41:00 +0000 (13:41 +0900)]
Add logic for on-demand mdnsd daemon

Change-Id: I688c0fb7cd9fdd6e0579daf7f6e4824f64638bb9
Signed-off-by: cheoleun <chleun.moon@samsung.com
8 years agoApplied code conventions 79/64379/2
chleun.moon [Fri, 1 Apr 2016 01:44:44 +0000 (10:44 +0900)]
Applied code conventions

Change-Id: Ic59c8977f353aa3300fccae62bdf26ee088297fd
Signed-off-by: cheoleun <chleun.moon@samsung.com>
8 years agoAdded comments to exclude coverage 73/64373/1
chleun.moon [Fri, 1 Apr 2016 01:04:17 +0000 (10:04 +0900)]
Added comments to exclude coverage

Change-Id: I1e6b0dcd2363fdd31683d56c7b4387cf82c3a66f
Signed-off-by: cheoleun <chleun.moon@samsung.com>
8 years agoAdd resetting g_is_init 35/63835/1 accepted/tizen/common/20160329.050545 accepted/tizen/ivi/20160328.070918 accepted/tizen/mobile/20160328.070825 accepted/tizen/tv/20160328.070846 accepted/tizen/wearable/20160328.070905 submit/tizen/20160328.051732
chleun.moon [Mon, 28 Mar 2016 05:10:22 +0000 (14:10 +0900)]
Add resetting g_is_init

Change-Id: I0fa7023366c1088605d89ebcd72f21fcf147c98b
Signed-off-by: cheoleun <chleun.moon@samsung.com>
8 years agoRemove build warnings 40/62240/2
chleun.moon [Tue, 15 Mar 2016 04:37:17 +0000 (13:37 +0900)]
Remove build warnings

Change-Id: I994f127448c3fd1f0dd79f9a7772d8923d4201c5
Signed-off-by: cheoleun <chleun.moon@samsung.com>
8 years agoFix misused strtok_r parameter 08/61508/1 accepted/tizen/common/20160311.200923 accepted/tizen/ivi/20160310.054900 accepted/tizen/mobile/20160310.054737 accepted/tizen/tv/20160310.054758 accepted/tizen/wearable/20160310.054822 submit/tizen/20160309.063152
Yu Jiung [Tue, 8 Mar 2016 09:35:29 +0000 (18:35 +0900)]
Fix misused strtok_r parameter

Change-Id: I0fe54e9facc04b9959964450107f0ae8aaa7c78a

8 years agoFix SVace issue 870871 21/61421/1 accepted/tizen/common/20160310.065029 accepted/tizen/ivi/20160308.100524 accepted/tizen/mobile/20160308.100414 accepted/tizen/tv/20160308.100443 accepted/tizen/wearable/20160308.100504 submit/tizen/20160308.010201
Yu Jiung [Mon, 7 Mar 2016 23:37:52 +0000 (08:37 +0900)]
Fix SVace issue 870871

Change-Id: Ib8a542f088df21de02a7db530e7b58737f7a8e08
Signed-off-by: Yu jiung <jiung.yu@samsung.com>
8 years agoMerge changes Ie48698d1,I330dcb96 into tizen
taesub kim [Mon, 7 Mar 2016 04:23:22 +0000 (20:23 -0800)]
Merge changes Ie48698d1,I330dcb96 into tizen

* changes:
  Fix found_cb call and register error handling
  Fix static analysis tool checker

8 years agoMerge "Add service not found error for dns-sd" into tizen
taesub kim [Mon, 7 Mar 2016 04:22:14 +0000 (20:22 -0800)]
Merge "Add service not found error for dns-sd" into tizen

8 years agoMerge "Fix strcmp error" into tizen
taesub kim [Mon, 7 Mar 2016 04:21:55 +0000 (20:21 -0800)]
Merge "Fix strcmp error" into tizen

8 years agoFix found_cb call and register error handling 46/61146/1
chleun.moon [Fri, 4 Mar 2016 07:43:01 +0000 (16:43 +0900)]
Fix found_cb call and register error handling

Change-Id: Ie48698d14c0f1aa0fa6645dad30e9fd163b7f736
Signed-off-by: cheoleun <chleun.moon@samsung.com>
8 years agoFix static analysis tool checker 92/60892/1
Yu Jiung [Thu, 3 Mar 2016 00:51:47 +0000 (09:51 +0900)]
Fix static analysis tool checker

Change-Id: I330dcb962c1ad435fd099abb10edce374e68deb8

8 years agoAdd service not found error for dns-sd 83/60783/1
Yu Jiung [Wed, 2 Mar 2016 07:45:06 +0000 (16:45 +0900)]
Add service not found error for dns-sd

Change-Id: Ib51e18981f526b2085ceb4c7ae70227ed9689809
Signed-off-by: Yu jiung <jiung.yu@samsung.com>
8 years ago[nsd] Fixed memory leak in dns-sd-test application 79/60679/1
Saurav Babu [Tue, 1 Mar 2016 12:01:34 +0000 (17:31 +0530)]
[nsd] Fixed memory leak in dns-sd-test application

This patch fixes memory leak in dnssd_browse_reply() when service_state
is other than DNSSD_SERVICE_STATE_AVAILABLE

Change-Id: I2fcce50ba052608848f9a7583660f5f629a78f33
Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
8 years agoFix strcmp error 22/60022/1
chleun.moon [Mon, 22 Feb 2016 10:11:10 +0000 (19:11 +0900)]
Fix strcmp error

Change-Id: I4d92636e644573ca91b0ff160d1a779d1e30e506
Signed-off-by: cheoleun <chleun.moon@samsung.com>
8 years agoAdd CAPI for ssdp 80/59480/1 accepted/tizen/ivi/20160218.084201 accepted/tizen/mobile/20160218.060059 accepted/tizen/tv/20160218.060122 accepted/tizen/wearable/20160218.060145 submit/tizen/20160218.041451
Yu Jiung [Tue, 16 Feb 2016 02:57:55 +0000 (11:57 +0900)]
Add CAPI for ssdp

Change-Id: Icef10b30f3e36b16f921489e8ab89a56b74cee1b

8 years ago[DNS-SD] Implement Basic DNS SD CAPI 31/58331/3
Saurav Babu [Fri, 29 Jan 2016 10:23:53 +0000 (15:53 +0530)]
[DNS-SD] Implement Basic DNS SD CAPI

Change-Id: Ie7fd341515aeebe62f006fb7212b06f60d5290eb
Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
8 years ago[DNS-SD] Added Basic DNS SD CAPI prototypes 36/57036/17
Saurav Babu [Thu, 14 Jan 2016 14:23:18 +0000 (19:53 +0530)]
[DNS-SD] Added Basic DNS SD CAPI prototypes

Change-Id: I1e8acc2b1a97fe06bb7d32b1849491d81af426fa
Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
8 years agoInitial empty repository master
Jinkun Jang [Mon, 21 Dec 2015 01:08:52 +0000 (17:08 -0800)]
Initial empty repository