[PATCH 0/1] fix initialization problems
From: Yinan Liu
Date: Mon Jan 17 2022 - 01:24:10 EST
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