lkml.org 
[lkml]   [2018]   [Aug]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH] mtd/ubi: Make sure to read volume record from LEB 0 or LEB 1
Date
Lui Song,

Am Montag, 20. August 2018, 08:09:05 CEST schrieb Liu Song:
> From: fishland <liu.song11@zte.com.cn>

Please use your real name. 1st Signed-off-by and patch author should match.

> Even though we protect on-flash data by CRC checksums,
> we still don't trust the media. If lnum is not 0 or 1,
> access exceed array boundary can lead to bad situation.

Good find! I'll queue this for the next fixes-pull-request.

Thanks,
//richard


\
 
 \ /
  Last update: 2018-08-20 22:23    [W:0.029 / U:0.232 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site