blob: 6c39637f6e037b59251194a16fc6c3af4acf7991 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
diff -rauN slang-2.3.2/modules/chksum-module.c slang-2.3.2-chksum-memset-patch/modules/chksum-module.c
--- slang-2.3.2/modules/chksum-module.c 2018-03-05 00:16:36.000000000 +0100
+++ slang-2.3.2-chksum-memset-patch/modules/chksum-module.c 2022-01-17 19:51:00.277766857 +0100
@@ -103,7 +103,7 @@
obj = (Chksum_Object_Type *)SLmalloc (sizeof (Chksum_Object_Type));
if (obj == NULL)
return;
- memset ((char *)obj, 0, sizeof(SLChksum_Type));
+ memset ((char *)obj, 0, sizeof(Chksum_Object_Type));
obj->numrefs = 1;
if (NULL == (obj->c = t->create (name)))
|