Re: [PATCH RFC 0/5] ubifs: Prevent memory oob accessing while dumping node

2020-10-31 Thread Richard Weinberger
On Mon, Oct 19, 2020 at 5:13 AM Zhihao Cheng wrote: > > 在 2020/6/16 15:11, Zhihao Cheng 写道: > > We use function ubifs_dump_node() to dump bad node caused by some > > reasons (Such as bit flipping caused by hardware error, writing bypass > > ubifs or unknown bugs in ubifs). The node content can

Re: [PATCH RFC 0/5] ubifs: Prevent memory oob accessing while dumping node

2020-10-18 Thread Zhihao Cheng
在 2020/6/16 15:11, Zhihao Cheng 写道: We use function ubifs_dump_node() to dump bad node caused by some reasons (Such as bit flipping caused by hardware error, writing bypass ubifs or unknown bugs in ubifs). The node content can not be trusted anymore, so we should prevent memory out-of-bounds

[PATCH RFC 0/5] ubifs: Prevent memory oob accessing while dumping node

2020-06-16 Thread Zhihao Cheng
We use function ubifs_dump_node() to dump bad node caused by some reasons (Such as bit flipping caused by hardware error, writing bypass ubifs or unknown bugs in ubifs). The node content can not be trusted anymore, so we should prevent memory out-of-bounds accessing while dumping node in following