qemu-commits
[Top][All Lists]
Advanced

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

[Qemu-commits] [qemu/qemu] 68d654: 9pfs: Fix divide by zero bug


From: Peter Maydell
Subject: [Qemu-commits] [qemu/qemu] 68d654: 9pfs: Fix divide by zero bug
Date: Mon, 25 Nov 2019 07:05:24 -0800

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: 68d654daee4364a0eca589a547d716084d9cb33d
      
https://github.com/qemu/qemu/commit/68d654daee4364a0eca589a547d716084d9cb33d
  Author: Dan Schatzberg <address@hidden>
  Date:   2019-11-23 (Sat, 23 Nov 2019)

  Changed paths:
    M hw/9pfs/9p.c

  Log Message:
  -----------
  9pfs: Fix divide by zero bug

Some filesystems may return 0s in statfs (trivially, a FUSE filesystem
can do so). QEMU should handle this gracefully and just behave the
same as if statfs failed.

Signed-off-by: Dan Schatzberg <address@hidden>
Acked-by: Christian Schoenebeck <address@hidden>
Signed-off-by: Greg Kurz <address@hidden>


  Commit: 122e6d2a9c1bf8aa1d51409c15809a82621515b1
      
https://github.com/qemu/qemu/commit/122e6d2a9c1bf8aa1d51409c15809a82621515b1
  Author: Peter Maydell <address@hidden>
  Date:   2019-11-25 (Mon, 25 Nov 2019)

  Changed paths:
    M hw/9pfs/9p.c

  Log Message:
  -----------
  Merge remote-tracking branch 'remotes/gkurz/tags/9p-fix-2019-11-23' into 
staging

9pfs fixes for QEMU 4.2

This fixes a potential QEMU crash if the underlying filesystem returns
a null block size in statfs().

# gpg: Signature made Sat 23 Nov 2019 15:19:36 GMT
# gpg:                using RSA key B4828BAF943140CEF2A3491071D4D5E5822F73D6
# gpg: Good signature from "Greg Kurz <address@hidden>" [full]
# gpg:                 aka "Gregory Kurz <address@hidden>" [full]
# gpg:                 aka "[jpeg image of size 3330]" [full]
# Primary key fingerprint: B482 8BAF 9431 40CE F2A3  4910 71D4 D5E5 822F 73D6

* remotes/gkurz/tags/9p-fix-2019-11-23:
  9pfs: Fix divide by zero bug

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


Compare: https://github.com/qemu/qemu/compare/2061735ff09f...122e6d2a9c1b



reply via email to

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