1. 11 10月, 2013 26 次提交
  2. 10 10月, 2013 2 次提交
  3. 09 10月, 2013 8 次提交
    • A
      scsi: Allocate SCSITargetReq r->buf dynamically [CVE-2013-4344] · 84642435
      Asias He 提交于
      r->buf is hardcoded to 2056 which is (256 + 1) * 8, allowing 256 luns at
      most. If more than 256 luns are specified by user, we have buffer
      overflow in scsi_target_emulate_report_luns.
      
      To fix, we allocate the buffer dynamically.
      Signed-off-by: NAsias He <asias@redhat.com>
      Tested-by: NMichael Roth <mdroth@linux.vnet.ibm.com>
      Signed-off-by: NPaolo Bonzini <pbonzini@redhat.com>
      84642435
    • A
      Merge remote-tracking branch 'stefanha/block' into staging · a1071705
      Anthony Liguori 提交于
      # By Max Reitz (5) and others
      # Via Stefan Hajnoczi
      * stefanha/block:
        block: use correct filename
        qemu-iotests: Correct 026 output
        qcow2: Free allocated L2 cluster on error
        qcow2: Switch L1 table in a single sequence
        block: vhdx - add migration blocker
        block: use correct filename for error report
        qcow2: CHECK_OFLAG_COPIED is obsolete
        qcow2: Correct endianness in overlap check
      
      Message-id: 1381145289-6591-1-git-send-email-stefanha@redhat.com
      Signed-off-by: NAnthony Liguori <anthony@codemonkey.ws>
      a1071705
    • A
      Merge remote-tracking branch 'mjt/trivial-patches' into staging · 80dfc873
      Anthony Liguori 提交于
      # By Stefan Weil (5) and others
      # Via Michael Tokarev
      * mjt/trivial-patches:
        migration: Fix compiler warning ('caps' may be used uninitialized)
        util/path: Fix type which is longer than 8 bit for MinGW
        hw/9pfs: Fix errno value for xattr functions
        vl: Clean up unnecessary boot_order complications
        qemu-char: Fix potential out of bounds access to local arrays
        pci-ohci: Add missing 'break' in ohci_service_td
        sh4: Fix serial line access for Linux kernels later than 3.2
        hw/alpha: Fix compiler warning (integer constant is too large)
        target-i386: Fix compiler warning (integer constant is too large)
        block: Remove unused assignment (fixes warning from clang)
        exec: cleanup DEBUG_SUBPAGE
        tests: Fix schema parser test for in-tree build
        tests: Update .gitignore for test-int128 and test-bitops
        .gitignore: ignore tests/qemu-iotests/socket_scm_helper
      
      Message-id: 1381051979-25742-1-git-send-email-mjt@msgid.tls.msk.ru
      Signed-off-by: NAnthony Liguori <anthony@codemonkey.ws>
      80dfc873
    • A
      Merge remote-tracking branch 'rth/tcg-arm-pull' into staging · 576e81be
      Anthony Liguori 提交于
      # By Richard Henderson
      # Via Richard Henderson
      * rth/tcg-arm-pull:
        tcg-arm: Move the tlb addend load earlier
        tcg-arm: Remove restriction on qemu_ld output register
        tcg-arm: Return register containing tlb addend
        tcg-arm: Move load of tlb addend into tcg_out_tlb_read
        tcg-arm: Use QEMU_BUILD_BUG_ON to verify constraints on tlb
        tcg-arm: Use strd for tcg_out_arg_reg64
        tcg-arm: Rearrange slow-path qemu_ld/st
        tcg-arm: Use ldrd/strd for appropriate qemu_ld/st64
      
      Message-id: 1380663109-14434-1-git-send-email-rth@twiddle.net
      Signed-off-by: NAnthony Liguori <anthony@codemonkey.ws>
      576e81be
    • A
      Merge remote-tracking branch 'sweil/mingw' into staging · 9e8f8b1c
      Anthony Liguori 提交于
      # By Sebastian Ottlik
      # Via Stefan Weil
      * sweil/mingw:
        util: call socket_set_fast_reuse instead of setting SO_REUSEADDR
        slirp: call socket_set_fast_reuse instead of setting SO_REUSEADDR
        net: call socket_set_fast_reuse instead of setting SO_REUSEADDR
        gdbstub: call socket_set_fast_reuse instead of setting SO_REUSEADDR
        util: add socket_set_fast_reuse function which will replace setting SO_REUSEADDR
      
      Message-id: 1380735690-24009-1-git-send-email-sw@weilnetz.de
      Signed-off-by: NAnthony Liguori <anthony@codemonkey.ws>
      9e8f8b1c
    • A
      Merge remote-tracking branch 'kraxel/chardev.8' into staging · dfe22799
      Anthony Liguori 提交于
      # By Gerd Hoffmann
      # Via Gerd Hoffmann
      * kraxel/chardev.8:
        chardev: handle qmp_chardev_add(KIND_MUX) failure
      
      Message-id: 1380708925-6721-1-git-send-email-kraxel@redhat.com
      Signed-off-by: NAnthony Liguori <anthony@codemonkey.ws>
      dfe22799
    • A
      Merge remote-tracking branch 'sweil/tci' into staging · ce079abb
      Anthony Liguori 提交于
      # By Stefan Weil
      # Via Stefan Weil
      * sweil/tci:
        misc: Use new rotate functions
        bitops: Add rotate functions (rol8, ror8, ...)
        tci: Add implementation of rotl_i64, rotr_i64
      
      Message-id: 1380137693-3729-1-git-send-email-sw@weilnetz.de
      Signed-off-by: NAnthony Liguori <anthony@codemonkey.ws>
      ce079abb
    • P
      block/iscsi: reenable iscsi_co_get_block_status · 24c7608a
      Peter Lieven 提交于
      Commit f35c934a accidently disabled iscsi_co_get_block_status for all
      libiscsi versions. Its not possible to check for enumeration constants
      in the C preprocessor. This patch changes the check to the preprocessor
      constant LIBISCSI_FEATURE_IOVECTOR which was introduced shortly after
      get_lba_status support was added to libiscsi.
      Signed-off-by: NPeter Lieven <pl@kamp.de>
      Signed-off-by: NPaolo Bonzini <pbonzini@redhat.com>
      24c7608a
  4. 07 10月, 2013 4 次提交