Seonah Moon [Tue, 27 Aug 2024 07:46:40 +0000 (16:46 +0900)]
Fix thread-safety issue
Change-Id: I8b23fb9836f1acbfc191fd3bdb85789dca9e5a35
Seonah Moon [Fri, 29 Mar 2024 10:41:38 +0000 (19:41 +0900)]
Fix the crash when browsing is stopped
Removing an item in the iterator can cause a crash.
Change-Id: I071c7d2897172d8f87cda53b4815e1dc3f7db747
Wootak Jung [Tue, 24 Oct 2023 22:45:27 +0000 (07:45 +0900)]
Fix main thread deadlock issue
If __dnssd_resolve_reply_cb() called in thread, __remove_service_resolve_socket() will be called in main thread.
If main thread is already locked, deadlock can be happened.
Fix resolve_data will be removed in this function not idle time.
GSource should be removed by calling g_source_destroy() not g_source_remove()
Change-Id: I2e2f8accba980073e39a70e9a39ef11b32086314
Signed-off-by: Wootak Jung <wootak.jung@samsung.com>
Seonah Moon [Thu, 19 Oct 2023 07:20:13 +0000 (16:20 +0900)]
Fix build error (64bit)
Change-Id: I76f6d99d68e941a0ad0c56de86afb8cea813e393
Seonah Moon [Tue, 17 Oct 2023 12:51:49 +0000 (21:51 +0900)]
SSDP: Fix registered_cb bug
Change-Id: I876b43ce3d2485f7dc7451545b4f30ba89df23d3
Jaehyun Kim [Mon, 11 Sep 2023 08:52:26 +0000 (08:52 +0000)]
Merge "Add LCOV macro for coverage" into tizen
Anjali Nijhara [Mon, 11 Sep 2023 05:30:44 +0000 (11:00 +0530)]
Add LCOV macro for coverage
Change-Id: I8cfdbd83f4d7e42a07499c4afe9c111faf6e94b5
Anjali Nijhara [Thu, 7 Sep 2023 13:30:46 +0000 (19:00 +0530)]
Remove tests related gcno files
Change-Id: Ic29e0d1afc35d57dded0edceafc0890e1ce15641
cheoleun moon [Tue, 4 Oct 2022 05:36:42 +0000 (14:36 +0900)]
Fix invalid tag
Change-Id: Iadb402904a2ed0ebe594a99ae5bc5d28cb0487d4
Seonah Moon [Tue, 27 Sep 2022 06:04:23 +0000 (15:04 +0900)]
Fix USE_AFTER_FREE
Change-Id: I0136d9265a26ca0db3352866b00a8430981bf8b0
Seonah Moon [Mon, 26 Sep 2022 07:27:48 +0000 (16:27 +0900)]
Implement dnssd_cancel_resolve_service()
Change-Id: I7c2efec8cb47415a3cc9c5219ac8defed637cf1c
cheoleun moon [Thu, 22 Sep 2022 07:28:23 +0000 (16:28 +0900)]
Implement dnssd_cancel_browse_service
Change-Id: I93c90e1acbf97e2d3c4ac6d6bd66a62c9c301322
cheoleun moon [Wed, 21 Sep 2022 07:49:41 +0000 (16:49 +0900)]
Change API names for compatibility
Change-Id: I72f96c175671e1eb3f8d7049a388acb5b0bb6841
cheoleun moon [Wed, 31 Aug 2022 08:54:10 +0000 (17:54 +0900)]
Add new dns-sd APIs
Change-Id: Ifba18e43e0122af496755b59cfad07aea355139d
Seonah Moon [Thu, 7 Jul 2022 08:31:00 +0000 (17:31 +0900)]
Change gcov data path
Change-Id: I938da56237335907d409d3986dab4b08513c0ec1
Abhay Agarwal [Thu, 19 May 2022 14:04:10 +0000 (19:34 +0530)]
Fix ipv6 address extraction
Fix dnssd_service_get_ip() API issue caused by
wrong copy of ipv6 address.
Change-Id: I735dcbeba2986ec34795dec49f44d5a6f24259e0
Signed-off-by: Abhay Agarwal <ay.agarwal@samsung.com>
Seonah Moon [Wed, 5 Jan 2022 05:40:44 +0000 (14:40 +0900)]
Fix NULL pointer dereference
Change-Id: I9b098d8fcb559ef672a65c79105f83a6e2224474
Seonah Moon [Tue, 14 Dec 2021 07:12:08 +0000 (16:12 +0900)]
dnssd_service_get_ip: return NULL if IP address isn't exist
Change-Id: I7e84cfc1ef4ff8a225457f151eb1d159f54fc6d9
cheoleun moon [Mon, 6 Sep 2021 04:18:53 +0000 (04:18 +0000)]
Merge "Fix resource leak" into tizen
Cheoleun Moon [Mon, 6 Sep 2021 03:55:08 +0000 (12:55 +0900)]
Fix resource leak
Change-Id: I40d6eafff53d385c66a76e0eab0269e3b1f7d6eb
Signed-off-by: Cheoleun Moon <chleun.moon@samsung.com>
seonah moon [Mon, 30 Aug 2021 02:12:25 +0000 (02:12 +0000)]
Merge "Check a length of interface name" into tizen
Seonah Moon [Thu, 26 Aug 2021 06:41:14 +0000 (15:41 +0900)]
Check a length of interface name
Change-Id: I3595f5140a905ef59a88945677293e9a285ca12f
Cheoleun Moon [Tue, 24 Aug 2021 10:49:46 +0000 (19:49 +0900)]
Check return values (2)
Change-Id: Ida6d1c9eb7210938fd882d4600ea05d929c20443
Signed-off-by: Cheoleun Moon <chleun.moon@samsung.com>
Cheoleun Moon [Tue, 24 Aug 2021 09:19:42 +0000 (18:19 +0900)]
Check return values
Change-Id: If594a5c1606bc22f7bb75da763299a8090e857bd
Signed-off-by: Cheoleun Moon <chleun.moon@samsung.com>
Cheoleun Moon [Tue, 24 Aug 2021 07:43:31 +0000 (16:43 +0900)]
Fix svace issues
Change-Id: I963d56b8afc22e8de3a04aa2af6e401d5d7d84ef
Signed-off-by: Cheoleun Moon <chleun.moon@samsung.com>
Seonah Moon [Fri, 13 Aug 2021 09:09:19 +0000 (18:09 +0900)]
Add internal APIs to create/destroy remote service
Add new APIs for handling a remove service to make browse() and resolve() operate independently.
- Added APIs:
dnssd_create_remote_service()
dnssd_destroy_remote_service()
- how to test
1. Register service
$ dns-sd -R test _http._tcp local 12345
2. Resolve service using dns-sd-internal-test
$ dns-sd-internal-test
1(_http._tcp, test, wlan0) > 5
Change-Id: I7aa95913d6be359db65d4948a67b49711e3e44e2
Cheoleun Moon [Wed, 28 Jul 2021 07:42:09 +0000 (16:42 +0900)]
Fix typo
Change-Id: Id7f811e6504acfbff00f9e054058d94ac7bfcc87
Signed-off-by: Cheoleun Moon <chleun.moon@samsung.com>
Cheoleun Moon [Wed, 23 Jun 2021 05:12:24 +0000 (14:12 +0900)]
Get TXT records on resolved callback
Change-Id: I88657c9ee6ca57b35b856788ef6a453fa629b40b
Signed-off-by: Cheoleun Moon <chleun.moon@samsung.com>
Cheoleun Moon [Tue, 22 Jun 2021 03:09:24 +0000 (12:09 +0900)]
Handle DNSSD_TYPE_FOUND_NOT_RESOLVED case
Change-Id: Iaab198367cf2fd4d1159ebf2c64dfaf6aa55c438
Signed-off-by: Cheoleun Moon <chleun.moon@samsung.com>
Cheoleun Moon [Tue, 1 Jun 2021 07:28:34 +0000 (16:28 +0900)]
Add dnssd_service_get_interface
Change-Id: Idf065fe6e8b58a207cc50f9aaec4ddc2b90506a9
Signed-off-by: Cheoleun Moon <chleun.moon@samsung.com>
Seonah Moon [Mon, 31 May 2021 06:58:11 +0000 (15:58 +0900)]
Pass a service_handler as the argument of browse_cb
Change-Id: I664d9bac99b127d6c786ed69e3b3871174dde95e
Seonah Moon [Thu, 27 May 2021 07:52:00 +0000 (16:52 +0900)]
First draft for internal browse/resovle API
Change-Id: Icb7196abdde5e165bcbcb89d46b6cd7f2d9e3754
Cheoleun Moon [Tue, 11 May 2021 09:44:24 +0000 (18:44 +0900)]
Use g_io_create_watch and g_source_attach instead of g_io_add_watch
Change-Id: Ie891c6f01b486b27c052bd0e1a74ba3e4ff41e0e
Signed-off-by: Cheoleun Moon <chleun.moon@samsung.com>
Cheoleun Moon [Tue, 16 Mar 2021 10:37:55 +0000 (19:37 +0900)]
Do not use net-config to launch mdnsd
Change-Id: I67edbf16d84afcc4dc18ee9299141737fafad35c
Tarun Pratap Singh Bhadouria [Fri, 24 Jul 2020 13:31:39 +0000 (19:01 +0530)]
Use Mutex insted of thread scope variables.
Change-Id: I7e825bcbd0cd859a2c61b336e0a08ab3907b36cf
Signed-off-by: Tarun Pratap Singh Bhadouria <tp.bhadouria@samsung.com>
cheoleun moon [Thu, 3 Sep 2020 05:36:23 +0000 (05:36 +0000)]
Merge "Fix API references" into tizen
Cheoleun Moon [Thu, 3 Sep 2020 05:11:37 +0000 (14:11 +0900)]
Fix API references
Change-Id: Iadd32a513b768cadfbc054c8698f01c688fc336c
Cheoleun Moon [Thu, 3 Sep 2020 05:21:24 +0000 (14:21 +0900)]
Revert "Fix API references"
This reverts commit
dcdd81f876384e1eb58d1227b31b7e9cf2fafec0.
Cheoleun Moon [Thu, 3 Sep 2020 05:11:37 +0000 (14:11 +0900)]
Fix API references
Change-Id: Iadd32a513b768cadfbc054c8698f01c688fc336c
Yu [Mon, 3 Aug 2020 05:08:13 +0000 (14:08 +0900)]
Handle virtual header allocation failure to deliver_request on test
Change-Id: I7e0d9041b4a2dd4667163e98ef716f265ee88a9a
Signed-off-by: Yu jiung <jiung.yu@samsung.com>
Cheoleun Moon [Mon, 27 Jul 2020 04:51:55 +0000 (13:51 +0900)]
Replace strcpy with strncpy
Change-Id: I8cf4f94a9115d058d2eb6cf2ccb198ca498e870e
Cheoleun Moon [Mon, 27 Jul 2020 04:44:02 +0000 (13:44 +0900)]
Fix memory leak
Change-Id: I82caac7a12929e7c584ce210c9e10a96216baccc
Yu [Tue, 14 Jul 2020 01:44:44 +0000 (10:44 +0900)]
Move unittest into tests
Change-Id: I48a15e02c90d0326a5b3324165aa4d2eb2ec3942
Signed-off-by: Yu jiung <jiung.yu@samsung.com>
Yu [Mon, 29 Jun 2020 05:00:15 +0000 (14:00 +0900)]
Add gtest to get coverage data
Change-Id: I85dd3b4385be8237e6b57a4cdb19645767316108
Signed-off-by: Yu jiung <jiung.yu@samsung.com>
Yu [Mon, 29 Jun 2020 04:58:19 +0000 (13:58 +0900)]
Replace codes that repeat several times
Change-Id: Idf4e6bbaaae9e8ff5ef5e89d81fa13bc65d9cf7e
Signed-off-by: Yu jiung <jiung.yu@samsung.com>
Yu [Wed, 3 Jun 2020 00:03:47 +0000 (09:03 +0900)]
Print proper error code for DNS-SD
Change-Id: Idf754b48d2d2420fc089ffdc323c4f90927149c9
Signed-off-by: Yu jiung <jiung.yu@samsung.com>
Seonah Moon [Mon, 2 Dec 2019 04:42:06 +0000 (13:42 +0900)]
doc: Change reference link #2
Change-Id: Idc5f0e7427f98248fc7df2d5f0a0be12747cc66b
Seonah Moon [Mon, 2 Dec 2019 04:42:06 +0000 (13:42 +0900)]
doc: Change reference link #2
Change-Id: Idc5f0e7427f98248fc7df2d5f0a0be12747cc66b
Seonah Moon [Fri, 29 Nov 2019 04:43:22 +0000 (13:43 +0900)]
doc: change reference link
Change-Id: Id136d9a161281e22d2071f14d5f38a7e9d13f7af
Seonah Moon [Fri, 29 Nov 2019 04:43:22 +0000 (13:43 +0900)]
doc: change reference link
Change-Id: Id136d9a161281e22d2071f14d5f38a7e9d13f7af
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>
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>
Seonah Moon [Tue, 30 Apr 2019 08:28:23 +0000 (17:28 +0900)]
Fix doxygen #2
Change-Id: I0ddbd3126cd0827b8849452fee098aaacbfe646d
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>
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>
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>
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>
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>
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>
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>
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>
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>
Seonah Moon [Thu, 12 Apr 2018 05:55:57 +0000 (14:55 +0900)]
[CID-77971,76678] Fix memory leak
Change-Id: I2fba599c04755753180231feb25b546861a793e4
Seonah Moon [Tue, 3 Apr 2018 08:28:05 +0000 (17:28 +0900)]
[CID-74740] Fix memory leak
Change-Id: I4c72aa17511b632986b51fd9e405888611f139e3
Taesoo Jun [Mon, 2 Apr 2018 10:47:55 +0000 (19:47 +0900)]
Fix memory leak - test_found_cb
Change-Id: I1be91624807e9c0df7d9bcee7cf64dfa5f517339
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>
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
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>
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>
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>
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>
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>
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>
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>
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>
Taesoo Jun [Thu, 7 Sep 2017 06:40:00 +0000 (15:40 +0900)]
variable initialization for safe code
Change-Id: I66e7ed089b4f38e74b178073d503297c8057a894
Taesoo Jun [Thu, 7 Sep 2017 06:37:25 +0000 (15:37 +0900)]
variable initialization for safe code
Change-Id: I4e99621f52323dec4f8a966ef635d3623381dcf9
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>
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
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
taesub kim [Thu, 9 Mar 2017 07:24:18 +0000 (23:24 -0800)]
Merge "Added NOTICE file" into tizen
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>
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>
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>
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>
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>
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>
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>
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
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>
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>