Commit 7b0f1615 for guacamole.apache.org
commit 7b0f1615412a8d2f4f6bd088ee7ca2f178d1b58d
Author: eugen-keeper <ehartmann@keepersecurity.com>
Date: Wed Apr 22 02:17:46 2026 +0000
GUACAMOLE-2120: Ensure guac_terminal_options is zero-initialized.
diff --git a/src/terminal/terminal.c b/src/terminal/terminal.c
index d87c9a97..5cfa6917 100644
--- a/src/terminal/terminal.c
+++ b/src/terminal/terminal.c
@@ -237,7 +237,7 @@ void* guac_terminal_thread(void* data) {
guac_terminal_options* guac_terminal_options_create(
int width, int height, int dpi) {
- guac_terminal_options* options = guac_mem_alloc(sizeof(guac_terminal_options));
+ guac_terminal_options* options = guac_mem_zalloc(sizeof(guac_terminal_options));
/* Set all required parameters */
options->width = width;