[ZBX-18105] Use of uninitialised variable if formula is empty for calculated item Created: 2020 Jul 17 Updated: 2024 Apr 10 Resolved: 2020 Aug 12 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Server (S) |
Affects Version/s: | 4.0.22, 5.0.2, 5.2.0alpha1, 5.2 (plan) |
Fix Version/s: | 4.0.24rc1, 5.0.3rc1, 5.2.0alpha1, 5.2 (plan) |
Type: | Problem report | Priority: | Trivial |
Reporter: | Vladislavs Sokurenko | Assignee: | Viktors Tjarve |
Resolution: | Fixed | Votes: | 0 |
Labels: | None | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified |
Team: | |
Sprint: | Sprint 66 (Jul 2020), Sprint 67 (Aug 2020) |
Story Points: | 0.25 |
Description |
Following error was observed when updating calculated item formula to emtpy value ==37469== Conditional jump or move depends on uninitialised value(s) ==37469== at 0x446D0B: calcitem_parse_expression (checks_calculated.c:147) ==37469== by 0x447641: get_value_calculated (checks_calculated.c:324) ==37469== by 0x441247: get_value (poller.c:395) ==37469== by 0x44381C: zbx_check_items (poller.c:742) ==37469== by 0x444343: get_values (poller.c:841) ==37469== by 0x444BDD: poller_thread (poller.c:1006) ==37469== by 0x5D6A03: zbx_thread_start (threads.c:136) ==37469== by 0x4265D2: MAIN_ZABBIX_ENTRY (server.c:1207) ==37469== by 0x5C6590: daemon_start (daemon.c:394) ==37469== by 0x425B68: main (server.c:951) ==37469== Uninitialised value was created by a stack allocation ==37469== at 0x446960: calcitem_parse_expression (checks_calculated.c:88) |
Comments |
Comment by Viktors Tjarve [ 2020 Aug 10 ] |
Released in:
|