On Wed, Jul 28, 2021 at 09:56:48AM +0800, wuguanghao wrote: > From: Zhiqiang Liu <liuzhiqiang26@xxxxxxxxxx> > > In lsattr_dir_proc(), if malloc() return NULL, it will cause > a segmentation fault problem. > > Signed-off-by: Zhiqiang Liu <liuzhiqiang26@xxxxxxxxxx> > Signed-off-by: Wu Guanghao <wuguanghao3@xxxxxxxxxx> Thanks, applied. Note that fputs() does not print a trailing newline (unlike puts()). So I fixed up the error message to include a newline character at the end. - Ted