HInfo->ServiceTable initialization in UpnpRegisterRootDevice2 and UpnpRegisterRootDevice4
Initialize also HInfo->ServiceTable in UpnpRegisterRootDevice2 and
UpnpRegisterRootDevice4 functions
(cherry picked from commit 26c3f87eca
)
This commit is contained in:
parent
7dd2d33382
commit
b5061149a6
@ -299,6 +299,13 @@ Version 1.8.0
|
||||
Version 1.6.16
|
||||
*******************************************************************************
|
||||
|
||||
2012-03-05 Fabrice Fontaine <fabrice.fontaine(at)orange.com>
|
||||
|
||||
HInfo->ServiceTable initialization in UpnpRegisterRootDevice2 and UpnpRegisterRootDevice4
|
||||
|
||||
Initialize also HInfo->ServiceTable in UpnpRegisterRootDevice2 and
|
||||
UpnpRegisterRootDevice4 functions
|
||||
|
||||
2012-03-05 Fabrice Fontaine <fabrice.fontaine(at)orange.com>
|
||||
|
||||
SF Bug Tracker id 3496703 - Handle_Info::ServiceList may have undefined value
|
||||
|
@ -1041,6 +1041,7 @@ int UpnpRegisterRootDevice2(
|
||||
*/
|
||||
UpnpPrintf(UPNP_ALL, API, __FILE__, __LINE__,
|
||||
"UpnpRegisterRootDevice2: Gena Check\n" );
|
||||
memset(&HInfo->ServiceTable, 0, sizeof(HInfo->ServiceTable));
|
||||
hasServiceTable = getServiceTable(
|
||||
(IXML_Node *)HInfo->DescDocument,
|
||||
&HInfo->ServiceTable,
|
||||
@ -1206,6 +1207,7 @@ int UpnpRegisterRootDevice4(
|
||||
*/
|
||||
UpnpPrintf(UPNP_ALL, API, __FILE__, __LINE__,
|
||||
"UpnpRegisterRootDevice4: Gena Check\n" );
|
||||
memset(&HInfo->ServiceTable, 0, sizeof(HInfo->ServiceTable));
|
||||
hasServiceTable = getServiceTable(
|
||||
(IXML_Node *)HInfo->DescDocument,
|
||||
&HInfo->ServiceTable,
|
||||
|
Loading…
Reference in New Issue
Block a user