[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <YPD/WV32JvoK8bZT@mit.edu>
Date: Thu, 15 Jul 2021 23:39:05 -0400
From: "Theodore Y. Ts'o" <tytso@....edu>
To: wuguanghao <wuguanghao3@...wei.com>
Cc: linux-ext4@...r.kernel.org, artem.blagodarenko@...il.com,
liuzhiqiang26@...wei.com, linfeilong@...wei.com
Subject: Re: [PATCH v2 06/12] append_pathname: check the value returned by
realloc
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 <wuguanghao3@...wei.com>
> Signed-off-by: Zhiqiang Liu <liuzhiqiang26@...wei.com>
Thanks, applied, with a minor whitespace fixup, and the commit
description linewrapped.
- Ted
Powered by blists - more mailing lists