Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-9776

Incorrect reading of long lines from configuration file

XMLWordPrintable

      If a line in configuration file is longer than 2047 bytes (MAX_STRING_LEN -1), the function __parse_cfg_file() reads only the first 2047 bytes, the remaining part is read as the next line. Result depends on the contents of the remaining part - it could be counted as unknown parameter, produce a "not following "parameter=value" notation" error message or can even pass as a valid configuration parameter.

            Unassigned Unassigned
            andris Andris Mednis
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: