On 7 December 2016 at 17:53, Alistair Francis
<[email protected]> wrote:
> The Cadence UART device emulator calculates speed by dividing the
> baud rate by a 'baud rate generator' & 'baud rate divider' value.
> The device specification defines these register values to be
> non-zero and within certain limits. Checks were recently added when
> writing to these registers but not when restoring from migration.
>
> This patch adds checks when restoring from migration to avoid divide by
> zero errors.
>
> Reported-by: Huawei PSIRT <[email protected]>
> Signed-off-by: Alistair Francis <[email protected]>



Applied to target-arm.next for 2.9, thanks.

-- PMM

Reply via email to