Skip to content

Commit

Permalink
Change buffer size of the vPoller module for Zabbix to MAX_BUFFER_LEN…
Browse files Browse the repository at this point in the history
… bytes
  • Loading branch information
dnaeon committed Sep 11, 2014
1 parent 136a01f commit 36ecf1d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/zabbix/vpoller-module/vpoller.c
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,8 @@ zbx_module_vpoller(AGENT_REQUEST *request, AGENT_RESULT *result)
int retries = CONFIG_VPOLLER_RETRIES; /* Number of retries */
int linger = 0; /* Set the ZeroMQ socket option ZMQ_LINGER to 0 */
int msg_len = 0; /* Length of the received message */
char msg_buf[MAX_STRING_LEN]; /* Buffer to hold the final message we send out to vPoller */

char msg_buf[MAX_BUFFER_LEN]; /* Buffer to hold the final message we send out to vPoller */

method = hostname = name = properties = key = vpoller_result = NULL;

Expand Down

0 comments on commit 36ecf1d

Please sign in to comment.