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

When destroying embedded script object it tries to free its environment even if not initialized

    XMLWordPrintable

Details

    • Team A
    • Sprint 98 (Mar 2023), Sprint 99 (Apr 2023), Sprint 100 (May 2023)
    • 0.25

    Description

      The zbx_es_destroy_env() function used to destroy embedded script object will always try to free its environment without checking if it has been initialized. This could result in crashes during shutdown.

      Currently only the preprocessing manager will attempt to destroy embedded script objects - so it does not affect the history sync on shutdown. This why it's not critical, but still needs to be fixed.

      Attachments

        Activity

          People

            wiper Andris Zeila
            wiper Andris Zeila
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: