Fix crash issue. 51/192251/1 accepted/tizen/unified/20181107.082023 submit/tizen/20181106.045243
authorNiraj Kumar Goit <niraj.g@samsung.com>
Thu, 1 Nov 2018 11:37:39 +0000 (17:07 +0530)
committerNiraj Kumar Goit <niraj.g@samsung.com>
Thu, 1 Nov 2018 11:37:39 +0000 (17:07 +0530)
commit2755ad32e52a6eebd808aa6b5716437ba93c13a4
tree71e84aff01159e38c617e524e941ed91e821517d
parentfcd14a96afbe4cfb6f11f3b1153ed203b2bf0862
Fix crash issue.

Below changes applied to fix issue:
1. In BeginSleepProcessing() function always clear out the SCDynamic
entry that stores the external SPS information.
2. If the client did not set the kDNSServiceFlagsReturnIntermediates flag,
then don't generate a negative response, just deactivate the DNSQuestion.

Change-Id: I698544661ba9bf72243ad078661cacdc75739c2a
Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
mDNSCore/mDNS.c