mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-06-08 08:02:41 +02:00
2018-10-17 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug in rivwebcapi's 'RD_ListCartCuts()' and 'RD_ListCartsCuts()' functions that threw a segfault if the WebAPI returned an error response.
This commit is contained in:
parent
587aaa5346
commit
22541425cf
@ -17811,3 +17811,7 @@
|
|||||||
* Disabled the 'More than half the audio will be faded...' warning
|
* Disabled the 'More than half the audio will be faded...' warning
|
||||||
in the 'Edit Audio' dialog in rdlibrary(1) if the 'No Fade on
|
in the 'Edit Audio' dialog in rdlibrary(1) if the 'No Fade on
|
||||||
Segue Out' checkbox is ticked.
|
Segue Out' checkbox is ticked.
|
||||||
|
2018-10-17 Fred Gleason <fredg@paravelsystems.com>
|
||||||
|
* Fixed a bug in rivwebcapi's 'RD_ListCartCuts()' and
|
||||||
|
'RD_ListCartsCuts()' functions that threw a segfault if the WebAPI
|
||||||
|
returned an error response.
|
||||||
|
@ -357,6 +357,7 @@ int RD_ListCartCuts(struct rd_cart *carts[],
|
|||||||
* Setup the CURL call
|
* Setup the CURL call
|
||||||
*/
|
*/
|
||||||
memset(&xml_data,0,sizeof(xml_data));
|
memset(&xml_data,0,sizeof(xml_data));
|
||||||
|
xml_data.cut_ptr=-1;
|
||||||
parser=XML_ParserCreate(NULL);
|
parser=XML_ParserCreate(NULL);
|
||||||
XML_SetUserData(parser,&xml_data);
|
XML_SetUserData(parser,&xml_data);
|
||||||
XML_SetElementHandler(parser,__ListCartCutsElementStart,
|
XML_SetElementHandler(parser,__ListCartCutsElementStart,
|
||||||
|
@ -362,6 +362,7 @@ int RD_ListCartsCuts(struct rd_cart *carts[],
|
|||||||
*/
|
*/
|
||||||
memset(&xml_data,0,sizeof(xml_data));
|
memset(&xml_data,0,sizeof(xml_data));
|
||||||
xml_data.cart_ptr=-1;
|
xml_data.cart_ptr=-1;
|
||||||
|
xml_data.cut_ptr=-1;
|
||||||
parser=XML_ParserCreate(NULL);
|
parser=XML_ParserCreate(NULL);
|
||||||
XML_SetUserData(parser,&xml_data);
|
XML_SetUserData(parser,&xml_data);
|
||||||
XML_SetElementHandler(parser,__ListCartsCutsElementStart,
|
XML_SetElementHandler(parser,__ListCartsCutsElementStart,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user