Thread (27 messages) 27 messages, 3 authors, 2021-07-19

Re: [PATCH v2 08/12] misc: fix potential segmentation fault problem in scandir()

From: "Theodore Y. Ts'o" <tytso@mit.edu>
Date: 2021-07-16 03:44:18

On Wed, Jun 30, 2021 at 04:27:20PM +0800, wuguanghao wrote:
From: Zhiqiang Liu <redacted>

In scandir(), temp_list[num_dent] is allocated by calling
malloc(), we should check whether malloc() returns NULL before
accessing temp_list[num_dent].

Signed-off-by: Zhiqiang Liu <redacted>
Signed-off-by: Wu Guanghao <redacted>
Thanks, applied.

					- Ted
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help