Werk #12707: md check: crashes with IndexError (list index out of range) on invalid input
Komponente | Checks & agents |
Titel | md check: crashes with IndexError (list index out of range) on invalid input |
Datum | 09.04.2021 |
Checkmk Edition | Checkmk Raw (CRE) |
Checkmk-Version | 2.0.0p2 2.1.0b1 |
Level | Kleine Änderung |
Klasse | Bugfix |
Kompatibilität | Kompatibel - benötigt kein manuelles Eingreifen |
Fed with input different from what the md
check is made for it tries to access non-existent
input elements and crashes with unhandled IndexError exception.
This change makes md
check for the minimum number of expected elements before accessing them.