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