[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20220117062344.15633-1-yinan@linux.alibaba.com>
Date: Mon, 17 Jan 2022 14:23:43 +0800
From: Yinan Liu <yinan@...ux.alibaba.com>
To: rostedt@...dmis.org, nathan@...nel.org
Cc: mingo@...nel.org, linux-kernel@...r.kernel.org
Subject: [PATCH 0/1] fix initialization problems
Hi,steven and Nathan
Thanks to Nathan, I realize that there are some problems with initialization.
Initialization of pthreads and mstructs may fail or be skipped, in which case
it is possible to use uninitialized values in "out" logic. I'm not sure if
such an error would happen, but it's certainly safe to initialize it.
I use mcount_sort_pthread as a global variable, which is consistent with
orc_sort_pthread. And initialize the mstruct in function do_sort.
Yinan Liu (1):
script/sorttable: fix some initialization problems
scripts/sorttable.h | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
--
2.19.1.6.gb485710b
Powered by blists - more mailing lists