* Re: [PATCH] ubifs: Fix potentially out-of-bounds memory access inubifs_dump_node
[not found] ` <202001131616025809130@zte.com.cn>
@ 2020-01-13 8:30 ` Richard Weinberger
0 siblings, 0 replies; only message in thread
From: Richard Weinberger @ 2020-01-13 8:30 UTC (permalink / raw)
To: liu song11; +Cc: Richard Weinberger, linux-mtd, linux-kernel, jiang xuexin
----- Ursprüngliche Mail -----
> Although this will change a bit more, but the function of dumping data is
> retained,
> I will modify it as suggested and try to submit a patch, thanks.
Sure but the most common and important case is good then.
in fs/ubifs/file.c we use a fixed buffer size of UBIFS_MAX_DATA_NODE_SZ
to deal with data nodes. So, dumping is safe.
If we don't know the buffer size for minor cases, not a big deal.
Still better than giving up the feature completely.
Thanks,
//richard
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2020-01-13 8:30 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <20191216154441.6648-1-fishland@aliyun.com,202001131229371470661@zte.com.cn,1681702500.19692.1578902048331.JavaMail.zimbra@nod.at>
[not found] ` <202001131616025809130@zte.com.cn>
2020-01-13 8:30 ` [PATCH] ubifs: Fix potentially out-of-bounds memory access inubifs_dump_node Richard Weinberger
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®