rand/x11-apps/bdfresize/files/fix-unintialized-use.patch
2022-08-28 17:52:34 +02:00

10 lines
279 B
Diff

--- a/bdfresize.c 2022-08-28 17:36:06.198455929 +0200
+++ b/bdfresize.c 2022-08-28 17:36:09.041752803 +0200
@@ -449,6 +449,7 @@
void error(char *fmt)
{
char buf[100];
+ buf[0] = 0;
strcat(buf, "bdfresize: line %d: ");
strcat(buf, fmt);
fprintf(stderr, buf, line);