Details

    • Type: Incident report
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0.9
    • Fix Version/s: 2.1.9
    • Component/s: Server (S)
    • Labels:
      None

      Description

      There are many dangerous in Zabbix any versions.

      For example, in include/db.h
      #define TRIGGER_EXPRESSION_LEN_MAX TRIGGER_EXPRESSION_LEN+1

      It should be with bracket () like following
      #define TRIGGER_EXPRESSION_LEN_MAX (TRIGGER_EXPRESSION_LEN+1)

      The reason is following
      int a = TRIGGER_EXPRESSION_LEN_MAX * 4;

      The programer think a is TRIGGER_EXPRESSION_LEN * 4 + 4. But a is TRIGGER_EXPRESSION_LEN + 4.
      It is just amateurs' miss!

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              daiki.matsuda@miraclelinux.com MATSUDA Daiki
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: