From 51a11498522242df0c54e1d9e1035660b8f6150c Mon Sep 17 00:00:00 2001 From: aizu-m Date: Sat, 6 Jun 2026 14:48:06 +0530 Subject: [PATCH] relay: fix out-of-bounds read in relay_http_print_log_request (#2324) --- src/plugins/relay/relay-http.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/relay/relay-http.c b/src/plugins/relay/relay-http.c index 5bcb88886..08b4ecbea 100644 --- a/src/plugins/relay/relay-http.c +++ b/src/plugins/relay/relay-http.c @@ -1716,7 +1716,7 @@ relay_http_print_log_request (struct t_relay_http_request *request) weechat_log_printf (" path_items. . . . . . . : %p", request->path_items); if (request->path_items) { - for (i = 0; request->path_items[0]; i++) + for (i = 0; request->path_items[i]; i++) { weechat_log_printf (" '%s'", request->path_items[i]); }