Skip to content

Commit

Permalink
Fixing Issue #109
Browse files Browse the repository at this point in the history
* Should merge CVE-2020-7106 solution to syslog plugin
* Preparing for release
  • Loading branch information
TheWitness committed Feb 22, 2020
1 parent 61ca677 commit f0ae274
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion INFO
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[info]
name = syslog
version = 2.5
version = 2.6
longname = Syslog Monitoring
author = The Cacti Group
email =
Expand Down
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -155,13 +155,15 @@ that.

## ChangeLog

--- develop ---
--- 2.6 ---

* issue#104: When filtering, syslog incorrectly thinks the Cacti hosts table
does not exist

* issue#107: Removal rule not using correct DB when using $use_cacti_db = false;

* issue#109: Should merge CVE-2020-7106 solution to syslog plugin

* issue: Massive performance improvement in statistics page rendering

--- 2.5 ---
Expand Down
4 changes: 2 additions & 2 deletions syslog.php
Original file line number Diff line number Diff line change
Expand Up @@ -986,9 +986,9 @@ function syslog_filter($sql_where, $tab) {
$unprocessed = syslog_db_fetch_cell("SELECT COUNT(*) FROM `" . $syslogdb_default . "`.`syslog_incoming`");

if (isset_request_var('date1')) {
$filter_text = __(' [ Start: \'%s\' to End: \'%s\', Unprocessed Messages: %s ]', get_request_var('date1'), get_request_var('date2'), $unprocessed, 'syslog');
$filter_text = __esc(' [ Start: \'%s\' to End: \'%s\', Unprocessed Messages: %s ]', get_request_var('date1'), get_request_var('date2'), $unprocessed, 'syslog');
} else {
$filter_text = __('[ Unprocessed Messages: %s ]', $unprocessed, 'syslog');
$filter_text = __esc('[ Unprocessed Messages: %s ]', $unprocessed, 'syslog');
}

?>
Expand Down

0 comments on commit f0ae274

Please sign in to comment.