mirror of
https://github.com/terrapkg/packages.git
synced 2026-06-18 17:40:38 +00:00
c5977665f1
(cherry picked from commit bca165cf7d)
Co-authored-by: Gilver <rockgrub@disroot.org>
13 lines
455 B
Diff
13 lines
455 B
Diff
diff -Naur xeve-0.5.1.old/app/xeve_app_util.h xeve-0.5.1/app/xeve_app_util.h
|
|
--- xeve-0.5.1.old/app/xeve_app_util.h 2025-09-09 14:10:13.815762327 +0200
|
|
+++ xeve-0.5.1/app/xeve_app_util.h 2025-11-04 13:43:37.496372293 +0100
|
|
@@ -73,7 +73,7 @@
|
|
len = (pre == NULL)? 0: (int)strlen(pre);
|
|
if(len > 0)
|
|
{
|
|
- sprintf(str + 3, " %s ", pre);
|
|
+ snprintf(str + 3, sizeof(str) - 3, " %.73s ", pre);
|
|
len = (int)strlen(str);
|
|
}
|
|
|