U-Boot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Tom Rini <trini@konsulko.com>
To: Raymond Mao <raymond.mao@linaro.org>
Cc: u-boot@lists.denx.de, michal.simek@amd.com,
	venkatesh.abbarapu@amd.com,
	Tuomas Tynkkynen <tuomas.tynkkynen@iki.fi>,
	Liviu Dudau <liviu.dudau@foss.arm.com>,
	Simon Glass <sjg@chromium.org>,
	Ilias Apalodimas <ilias.apalodimas@linaro.org>,
	Andrew Goodbody <andrew.goodbody@linaro.org>,
	Dan Carpenter <dan.carpenter@linaro.org>,
	Harrison Mutai <harrison.mutai@arm.com>,
	Patrick Rudolph <patrick.rudolph@9elements.com>,
	Jerome Forissier <jerome.forissier@linaro.org>,
	Heinrich Schuchardt <xypron.glpk@gmx.de>,
	Evgeny Bachinin <EABachinin@salutedevices.com>,
	Matthias Brugger <mbrugger@suse.com>,
	Patrice Chotard <patrice.chotard@foss.st.com>,
	Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Subject: Re: [PATCH v3 3/6] bloblist: fix a potential negative size for memmove
Date: Tue, 21 Apr 2026 09:03:40 -0600	[thread overview]
Message-ID: <20260421150340.GD3036003@bill-the-cat> (raw)
In-Reply-To: <20250718141621.3147633-4-raymond.mao@linaro.org>

[-- Attachment #1: Type: text/plain, Size: 404 bytes --]

On Fri, Jul 18, 2025 at 07:16:16AM -0700, Raymond Mao wrote:

> It causes a panic when blob is shrunk and 'new_alloced' is less than
> 'next_ofs'. The data area that needs to be moved should end up at
> 'hdr->used_size'.
> 
> Fixes: 1fe59375498f ("bloblist: Support resizing a blob")
> Signed-off-by: Raymond Mao <raymond.mao@linaro.org>

Reviewed-by: Tom Rini <trini@konsulko.com>

-- 
Tom

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]

  reply	other threads:[~2026-04-21 15:04 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-07-18 14:16 [PATCH v3 0/6] Add support for DT overlays handoff Raymond Mao
2025-07-18 14:16 ` [PATCH v3 1/6] bloblist: add blob type for DT overlay Raymond Mao
2026-04-21 15:03   ` Tom Rini
2025-07-18 14:16 ` [PATCH v3 2/6] bloblist: add helper functions Raymond Mao
2026-04-21 15:03   ` Tom Rini
2025-07-18 14:16 ` [PATCH v3 3/6] bloblist: fix a potential negative size for memmove Raymond Mao
2026-04-21 15:03   ` Tom Rini [this message]
2025-07-18 14:16 ` [PATCH v3 4/6] bloblist: add API for applying blobs with specified tag Raymond Mao
2026-04-21 15:03   ` Tom Rini
2025-07-18 14:16 ` [PATCH v3 5/6] fdtdec: apply DT overlays from bloblist Raymond Mao
2026-04-21 15:04   ` Tom Rini
2025-07-18 14:16 ` [PATCH v3 6/6] configs: Select OF_LIBFDT_OVERLAY to hand over DTO via bloblist Raymond Mao
2025-08-20  5:15 ` [PATCH v3 0/6] Add support for DT overlays handoff Abbarapu, Venkatesh
2025-08-21 14:23   ` Raymond Mao
2026-04-17 20:39 ` Raymond Mao
2026-04-20  7:05   ` Michal Simek
2026-04-20 13:40     ` Raymond Mao
2026-04-21 15:03       ` Tom Rini
2026-04-21 15:24         ` Michal Simek
2026-04-27 17:04 ` Tom Rini

Reply instructions:

You may reply publicly 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:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

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

  git send-email \
    --in-reply-to=20260421150340.GD3036003@bill-the-cat \
    --to=trini@konsulko.com \
    --cc=EABachinin@salutedevices.com \
    --cc=andrew.goodbody@linaro.org \
    --cc=dan.carpenter@linaro.org \
    --cc=harrison.mutai@arm.com \
    --cc=ilias.apalodimas@linaro.org \
    --cc=jerome.forissier@linaro.org \
    --cc=liviu.dudau@foss.arm.com \
    --cc=mbrugger@suse.com \
    --cc=michal.simek@amd.com \
    --cc=patrice.chotard@foss.st.com \
    --cc=patrick.rudolph@9elements.com \
    --cc=prabhakar.mahadev-lad.rj@bp.renesas.com \
    --cc=raymond.mao@linaro.org \
    --cc=sjg@chromium.org \
    --cc=tuomas.tynkkynen@iki.fi \
    --cc=u-boot@lists.denx.de \
    --cc=venkatesh.abbarapu@amd.com \
    --cc=xypron.glpk@gmx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox