SOURCES: shaperd.2-crash_fix.patch (NEW) - fix random crashes

atler atler at pld-linux.org
Sat Nov 5 23:25:44 CET 2005


Author: atler                        Date: Sat Nov  5 22:25:43 2005 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- fix random crashes

---- Files affected:
SOURCES:
   shaperd.2-crash_fix.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/shaperd.2-crash_fix.patch
diff -u /dev/null SOURCES/shaperd.2-crash_fix.patch:1.1
--- /dev/null	Sat Nov  5 23:25:43 2005
+++ SOURCES/shaperd.2-crash_fix.patch	Sat Nov  5 23:25:38 2005
@@ -0,0 +1,11 @@
+--- shaperd/src/shaperd_old.c.orig	2005-10-29 14:38:34.000000000 +0200
++++ shaperd/src/shaperd_old.c	2005-10-29 14:38:40.000000000 +0200
+@@ -3150,7 +3150,7 @@
+     int		f1,m,n;
+     struct	stat stbuf;
+     unsigned long int	cnt1,cnt2;
+-    unsigned long int	dd1,dd2,dd3,dd4;
++    unsigned long int	dd1,dd2 = 0,dd3,dd4;
+     char	aa[12][20];
+     char	*src;
+     char	buf[30];
================================================================



More information about the pld-cvs-commit mailing list