2022-05-23 Fred Gleason <fredg@paravelsystems.com>

* Fixed a bug in the 'SAS USI' switcher driver in ripcd(8) that
	could cause a segfault upon receipt of a network error.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
Fred Gleason 2022-05-23 13:22:02 -04:00
parent d15728a78d
commit 07db229e99
2 changed files with 5 additions and 1 deletions

View File

@ -23155,3 +23155,6 @@
2022-05-23 Fred Gleason <fredg@paravelsystems.com>
* Removed the 'ALL' entry from the 'Default Group' dropdown in the
'Dropbox Configuration' dialog in rdlogmanager(1).
2022-05-23 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug in the 'SAS USI' switcher driver in ripcd(8) that
could cause a segfault upon receipt of a network error.

View File

@ -2,7 +2,7 @@
//
// A Rivendell switcher driver for the SAS USI Protocol
//
// (C) Copyright 2002-2021 Fred Gleason <fredg@paravelsystems.com>
// (C) Copyright 2002-2022 Fred Gleason <fredg@paravelsystems.com>
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License version 2 as
@ -407,6 +407,7 @@ void SasUsi::errorData(QAbstractSocket::SocketError err)
default:
rda->syslog(LOG_WARNING,
"received network error %d on connection to SasUsi device at %s:%d",
err,
(const char *)sas_ipaddress.toString().toUtf8(),
sas_ipport);
break;