[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <YQijKmP2T/XJzC0m@mit.edu>
Date: Mon, 2 Aug 2021 22:00:10 -0400
From: "Theodore Ts'o" <tytso@....edu>
To: wuguanghao <wuguanghao3@...wei.com>
Cc: linux-ext4@...r.kernel.org, linfeilong@...wei.com,
liuzhiqiang26@...wei.com
Subject: Re: [PATCH v3 04/12] ss_add_info_dir: don't zap the info->info_dirs
and check whether
On Wed, Jul 28, 2021 at 09:56:45AM +0800, wuguanghao wrote:
> From: Wu Guanghao <wuguanghao3@...wei.com>
>
> In ss_add_info_dir(), don't zap the info->info_dirs. At the same time, it is necessary
> to check whether dirs[n_dirs] is a null pointer, otherwise a segmentation
> fault will occur.
>
> Signed-off-by: Wu Guanghao <wuguanghao3@...wei.com>
> Signed-off-by: Zhiqiang Liu <liuzhiqiang26@...wei.com>
> Reviewed-by: Wu Bo <wubo40@...wei.com>
Thanks, applied.
- Ted
Powered by blists - more mailing lists