Re: [PATCH v2 06/12] append_pathname: check the value returned by realloc
From: "Theodore Y. Ts'o" <tytso@mit.edu>
Date: 2021-07-16 03:39:19
From: "Theodore Y. Ts'o" <tytso@mit.edu>
Date: 2021-07-16 03:39:19
On Wed, Jun 30, 2021 at 04:27:18PM +0800, wuguanghao wrote:
In append_pathname(), we need to add a new path to save the value returned by realloc, otherwise the name->path may be NULL, causing segfault Signed-off-by: Wu Guanghao <redacted> Signed-off-by: Zhiqiang Liu <redacted>
Thanks, applied, with a minor whitespace fixup, and the commit description linewrapped. - Ted