<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">--- linux-2.6.18.4/kernel/taskstats.c	2012-06-01 13:49:00.404941160 +0800
+++ linux-2.6.18.4-bug14051367/kernel/taskstats.c	2012-06-01 13:52:08.582588615 +0800
@@ -223,6 +223,7 @@
 	get_task_struct(tsk);
 	read_unlock(&amp;tasklist_lock);
 
+	memset(&amp;stats, 0, sizeof(stats));
 	/*
 	 * Each accounting subsystem adds calls to its functions to
 	 * fill in relevant parts of struct taskstsats as follows
</pre></body></html>