diff options
-rw-r--r-- | ChangeLog.d/bugfix/ZBX-21715 | 1 | ||||
-rw-r--r-- | src/zabbix_js/zabbix_js.c | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/ChangeLog.d/bugfix/ZBX-21715 b/ChangeLog.d/bugfix/ZBX-21715 new file mode 100644 index 00000000000..57e0a1c6498 --- /dev/null +++ b/ChangeLog.d/bugfix/ZBX-21715 @@ -0,0 +1 @@ +.......... [ZBX-21715] fixed Zabbix JS (zabbix_js) crash when parsing short version of "timeout" option -t (dimir) diff --git a/src/zabbix_js/zabbix_js.c b/src/zabbix_js/zabbix_js.c index 06d1bbea1b9..61a78a46bd9 100644 --- a/src/zabbix_js/zabbix_js.c +++ b/src/zabbix_js/zabbix_js.c @@ -69,7 +69,7 @@ struct zbx_option longopts[] = }; /* short options */ -static char shortopts[] = "s:i:p:hVl:t"; +static char shortopts[] = "s:i:p:hVl:t:"; /* end of COMMAND LINE OPTIONS */ |