Possible crash when retrieving session for Zabbix proxy or Zabbix agent

XMLWordPrintable

    • Type: Problem report
    • Resolution: Fixed
    • Priority: Major
    • 6.2.2rc1, 6.4 (plan)
    • Affects Version/s: 6.2.1
    • Component/s: Server (S)
    • None
    • Sprint 91 (Aug 2022)
    • 0.125

      In function zbx_dc_get_or_create_data_session() there is call to dc_strdup outside of write lock, this can lead to undefined behaviour as shared memory allocation must only be performed under write lock. Additionally would be nice to update last access under read lock.

            Assignee:
            Artjoms Rimdjonoks
            Reporter:
            Vladislavs Sokurenko
            Team C
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: