Re: [PATCH] udf: fix an uninitialized read bug

2019-04-15 Thread Wenwen Wang
Thanks for your prompt reply, Jan! I will rework the patch. Best regards, Wenwen On Mon, Apr 15, 2019 at 11:05 AM Jan Kara wrote: > > On Mon 15-04-19 10:26:24, Wenwen Wang wrote: > > In udf_lookup(), the pointer 'fi' is a local variable initialized by the > > return value of the function call

Re: [PATCH] udf: fix an uninitialized read bug

2019-04-15 Thread Jan Kara
On Mon 15-04-19 10:26:24, Wenwen Wang wrote: > In udf_lookup(), the pointer 'fi' is a local variable initialized by the > return value of the function call udf_find_entry(). However, if the macro > 'UDF_RECOVERY' is defined, this variable will become uninitialized if the > else branch is not

[PATCH] udf: fix an uninitialized read bug

2019-04-15 Thread Wenwen Wang
In udf_lookup(), the pointer 'fi' is a local variable initialized by the return value of the function call udf_find_entry(). However, if the macro 'UDF_RECOVERY' is defined, this variable will become uninitialized if the else branch is not taken, which can potentially cause incorrect results in