2019-02-05 Fred Gleason <fredg@paravelsystems.com>

* Fixed a bug in rdairplay(1) that threw a segfault when processing
	a null RML.
This commit is contained in:
Fred Gleason 2019-02-05 12:45:57 -05:00
parent 3bafdc04af
commit 34e722849a
2 changed files with 7 additions and 0 deletions

View File

@ -18457,3 +18457,6 @@
2019-02-05 Fred Gleason <fredg@paravelsystems.com>
* Added a Maintainer's Note to the 'MainObject::SchemaMap()'
method in rddbmgr(8).
2019-02-05 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug in rdairplay(1) that threw a segfault when processing
a null RML.

View File

@ -240,6 +240,10 @@ void RDRipc::DispatchCommand()
// printf("RDRipc::DispatchCommand: %s\n",(const char *)ripc_accum.toUtf8());
QStringList cmds=ripc_accum.split(" ",QString::SkipEmptyParts);
if(cmds.size()==0) {
return;
}
if(cmds[0]=="PW") { // Password Response
SendCommand("RU!");