Linux-EROFS Archive on
 help / color / Atom feed
From: Chao Yu <>
To: Gao Xiang <>
Cc:, LKML <>,, Miao Xie <>
Subject: Re: [PATCH] erofs: fix out-of-bound read for shifted uncompressed block
Date: Sat, 11 Jan 2020 17:20:58 +0800
Message-ID: <> (raw)
In-Reply-To: <>

On 2020/1/7 10:25, Gao Xiang wrote:
> rq->out[1] should be valid before accessing. Otherwise,
> in very rare cases, out-of-bound dirty onstack rq->out[1]
> can equal to *in and lead to unintended memmove behavior.
> Fixes: 7fc45dbc938a ("staging: erofs: introduce generic decompression backend")
> Cc: <> # v5.3+
> Signed-off-by: Gao Xiang <>

Reviewed-by: Chao Yu <>


      reply index

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-01-07  2:25 Gao Xiang
2020-01-11  9:20 ` Chao Yu [this message]

Reply instructions:

You may reply publically to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \ \ \ \ \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

Linux-EROFS Archive on

Archives are clonable:
	git clone --mirror linux-erofs/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 linux-erofs linux-erofs/ \
	public-inbox-index linux-erofs

Example config snippet for mirrors

Newsgroup available over NNTP:

AGPL code for this site: git clone