Re: [PATCH v2] udf: fix an uninitialized read bug and remove dead code

2019-04-17 Thread Jan Kara
On Mon 15-04-19 12:58:06, 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 taken,

[PATCH v2] udf: fix an uninitialized read bug and remove dead code

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 the