Mistake in DCsync_item

XMLWordPrintable

    • Type: Incident report
    • Resolution: Fixed
    • Priority: Major
    • 1.8.3
    • Affects Version/s: 1.8.2
    • Component/s: Server (S)
    • None

      in src/libs/zbxdbcache/dbconfig.c in function DCsync_items():

      /* db items */
      i = get_nearestindex(config->dbitems, sizeof(ZBX_DC_LOGITEM),
      config->dbitems_num, itemid);

      sizeof(ZBX_DC_LOGITEM) is incorrect and must be replaced with sizeof(ZBX_DC_DBITEM)

            Assignee:
            Alexander Vladishev
            Reporter:
            Kirill Fateev
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: