Blame SOURCES/ntp-4.2.6p5-cve-2015-5195.patch
|
|
063937 |
diff -up ntp-4.2.6p5/ntpd/ntp_config.c.cve-2015-5195 ntp-4.2.6p5/ntpd/ntp_config.c
|
|
|
063937 |
--- ntp-4.2.6p5/ntpd/ntp_config.c.cve-2015-5195 2015-08-20 12:14:23.911585026 +0200
|
|
|
063937 |
+++ ntp-4.2.6p5/ntpd/ntp_config.c 2015-08-20 12:15:14.850462173 +0200
|
|
|
063937 |
@@ -2019,6 +2019,13 @@ config_monitor(
|
|
|
063937 |
while (pfilegen_token != NULL) {
|
|
|
063937 |
filegen_string = keyword(*pfilegen_token);
|
|
|
063937 |
filegen = filegen_get(filegen_string);
|
|
|
063937 |
+ if (NULL == filegen) {
|
|
|
063937 |
+ msyslog(LOG_ERR,
|
|
|
063937 |
+ "stats %s unrecognized",
|
|
|
063937 |
+ filegen_string);
|
|
|
063937 |
+ pfilegen_token = next_node(pfilegen_token);
|
|
|
063937 |
+ continue;
|
|
|
063937 |
+ }
|
|
|
063937 |
|
|
|
063937 |
DPRINTF(4, ("enabling filegen for %s statistics '%s%s'\n",
|
|
|
063937 |
filegen_string, filegen->prefix,
|
|
|
063937 |
@@ -2032,6 +2039,13 @@ config_monitor(
|
|
|
063937 |
while (my_node != NULL) {
|
|
|
063937 |
filegen_file = keyword(my_node->filegen_token);
|
|
|
063937 |
filegen = filegen_get(filegen_file);
|
|
|
063937 |
+ if (NULL == filegen) {
|
|
|
063937 |
+ msyslog(LOG_ERR,
|
|
|
063937 |
+ "filegen category '%s' unrecognized",
|
|
|
063937 |
+ filegen_file);
|
|
|
063937 |
+ my_node = next_node(my_node);
|
|
|
063937 |
+ continue;
|
|
|
063937 |
+ }
|
|
|
063937 |
|
|
|
063937 |
/* Initialize the filegen variables to their pre-configurtion states */
|
|
|
063937 |
filegen_flag = filegen->flag;
|