mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-10-14 06:31:18 +02:00
2019-03-15 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug in the rivwebcapi 'RD_ListLogs()' that caused corruption of log names containing multi-byte UTF-8 characters. * Fixed a bug in the rivwebcapi 'RD_ListLog()' that caused corruption of log names containing multi-byte UTF-8 characters. * Fixed a regression in the 'RDLogEvent::insert()' method that threw a segfault when applied on am empty log. * Fixed a bug in date/time parsing methods that could cause segfaults.
This commit is contained in:
@@ -376,7 +376,7 @@ int RDLogEvent::size() const
|
||||
void RDLogEvent::insert(int line,int num_lines,bool preserve_trans)
|
||||
{
|
||||
if(!preserve_trans) {
|
||||
if(log_line[line-1]!=NULL) {
|
||||
if((line>0)&&(log_line[line-1]!=NULL)) {
|
||||
log_line[line-1]->setEndPoint(-1,RDLogLine::LogPointer);
|
||||
log_line[line-1]->setSegueStartPoint(-1,RDLogLine::LogPointer);
|
||||
log_line[line-1]->setSegueEndPoint(-1,RDLogLine::LogPointer);
|
||||
|
Reference in New Issue
Block a user