[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] device_tree: check device tree blob file size
From: |
Peter Maydell |
Subject: |
Re: [Qemu-devel] [PATCH] device_tree: check device tree blob file size |
Date: |
Mon, 25 Mar 2019 16:18:40 +0000 |
On Mon, 25 Mar 2019 at 16:11, P J P <address@hidden> wrote:
>
> +-- On Mon, 25 Mar 2019, Peter Maydell wrote --+
> | Noone has complained that it's too small because right now *we do not check
> | against it* for the common case of "just load an external dtb".
> |
> | We should not be imposing an arbitrary limit within QEMU if we don't need
> | to. Here, we do not need to.
>
> Hmmn, it could help to avoid loading of truncated dtb files as David pointed
> out.
Yes, we don't want to do that. We can do that in a less
arbitrary manner than "impose a flat 1MB limit".
thanks
-- PMM