ZABBIX BUGS AND ISSUES

using closed handle in libs/zbxexec/execute.c zbx_execute()

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 1.8.7
  • Fix Version/s: 1.8.9, 1.9.7 (beta)
  • Component/s: Agent (G)
  • Labels:
    None
  • Zabbix ID:
    Reviewed 2.0

Description

libs/zbxexec/execute.c zbx_execute() code, which is supposed to wait for launched process finish, is accessing previously closed handle in WaitForSingleObject() call.
it results in sporadical false execute timeouts.

also MSDN recommends calling SetHandleInformation() for read pipe handle for reasons unknown, and I trust them in that.

patch for 1.8.7 is attached

Activity

People

Vote (0)
Watch (3)

Dates

  • Created:
    Updated:
    Resolved: