2022-12-08 Fred Gleason <fredg@paravelsystems.com>

* Fixed a bug in rdcastmanager(1) that could cause a segfault when
	uploading a new item.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
Fred Gleason 2022-12-08 15:18:03 -05:00
parent dc04bd0150
commit 8beb1f875a
2 changed files with 4 additions and 1 deletions

View File

@ -23778,3 +23778,6 @@
2022-12-08 Fred Gleason <fredg@paravelsystems.com>
* Implemented column sorting for log lists in rdadmin(1),rdairplay(1),
rdcastmanager(1) and rdlogedit(1).
2022-12-08 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug in rdcastmanager(1) that could cause a segfault when
uploading a new item.

View File

@ -62,7 +62,7 @@ size_t __RDFeed_Write_Callback(char *ptr,size_t size,size_t nmemb,
{
static QByteArray *buffer=(QByteArray *)userdata;
*buffer+=QByteArray(ptr,size*nmemb);
buffer->append(QByteArray(ptr,size*nmemb));
return size*nmemb;
}