qemu-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-commits] [qemu/qemu] f2eb66: hw/mips_itu: fix off-by-one reported


From: GitHub
Subject: [Qemu-commits] [qemu/qemu] f2eb66: hw/mips_itu: fix off-by-one reported by Coverity
Date: Fri, 08 Apr 2016 07:00:04 -0700

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: f2eb665a11a34ac9f6459f8a18c3d9d8be9ca359
      
https://github.com/qemu/qemu/commit/f2eb665a11a34ac9f6459f8a18c3d9d8be9ca359
  Author: Leon Alrae <address@hidden>
  Date:   2016-04-08 (Fri, 08 Apr 2016)

  Changed paths:
    M hw/misc/mips_itu.c

  Log Message:
  -----------
  hw/mips_itu: fix off-by-one reported by Coverity

Fix off-by-one error in ITC Tag read.

Remove the switch as we just want to check if index is in valid range
rather than test against list of values.

Signed-off-by: Leon Alrae <address@hidden>


  Commit: 9628af036fade986dcc94f4484bc75c6b1a06d84
      
https://github.com/qemu/qemu/commit/9628af036fade986dcc94f4484bc75c6b1a06d84
  Author: Peter Maydell <address@hidden>
  Date:   2016-04-08 (Fri, 08 Apr 2016)

  Changed paths:
    M hw/misc/mips_itu.c

  Log Message:
  -----------
  Merge remote-tracking branch 'remotes/lalrae/tags/mips-20160408' into staging

MIPS patches 2016-04-08

Changes:
* fix off-by-one error in ITU

# gpg: Signature made Fri 08 Apr 2016 10:43:16 BST using RSA key ID 0B29DA6B
# gpg: Good signature from "Leon Alrae <address@hidden>"

* remotes/lalrae/tags/mips-20160408:
  hw/mips_itu: fix off-by-one reported by Coverity

Signed-off-by: Peter Maydell <address@hidden>


Compare: https://github.com/qemu/qemu/compare/8227e2d16705...9628af036fad

reply via email to

[Prev in Thread] Current Thread [Next in Thread]