From: =?utf-8?b?0L3QsNCx?= <nabijaczleweli@nabijaczleweli.xyz>
Date: Mon, 30 Jun 2025 21:53:38 +0200
Subject: snprintf() instead of sprintf() (Closes: #992407)
Forwarded: No since upstream is inactive

---
 main.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/main.c b/main.c
index 5b60d09..46ac3df 100644
--- a/main.c
+++ b/main.c
@@ -263,7 +263,7 @@ int main(
 	str = getenv("HOME");
 	if (str)
 	{
-		sprintf(tmpblk.c, "%s%c%s", str, SLASH, HMEXRC);
+		snprintf(tmpblk.c, sizeof(tmpblk.c), "%s%c%s", str, SLASH, HMEXRC);
 		doexrc(tmpblk.c);
 	}
 #endif
