Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: qemu/qemu
base: f33c74576425
Choose a base ref
...
head repository: qemu/qemu
compare: ccb86f079a9e
Choose a head ref
  • 2 commits
  • 1 file changed
  • 2 contributors

Commits on Jul 27, 2023

  1. qemu-nbd: regression with arguments passing into nbd_client_thread()

    Unfortunately
        commit 03b6762
        Author: Denis V. Lunev <den@openvz.org>
        Date:   Mon Jul 17 16:55:40 2023 +0200
        qemu-nbd: pass structure into nbd_client_thread instead of plain char*
    has introduced a regression. struct NbdClientOpts resides on stack inside
    'if' block. This specifically means that this stack space could be reused
    once the execution will leave that block of the code.
    
    This means that parameters passed into nbd_client_thread could be
    overwritten at any moment.
    
    The patch moves the data to the namespace of main() function effectively
    preserving it for the whole process lifetime.
    
    Signed-off-by: Denis V. Lunev <den@openvz.org>
    CC: Eric Blake <eblake@redhat.com>
    CC: Vladimir Sementsov-Ogievskiy <vsementsov@yandex-team.ru>
    CC: <qemu-stable@nongnu.org>
    Reviewed-by: Eric Blake <eblake@redhat.com>
    Message-ID: <20230727105828.324314-1-den@openvz.org>
    Signed-off-by: Eric Blake <eblake@redhat.com>
    Denis V. Lunev authored and ebblake committed Jul 27, 2023
    Copy the full SHA
    e5b815b View commit details
    Browse the repository at this point in the history

Commits on Jul 28, 2023

  1. Merge tag 'pull-nbd-2023-07-28' of https://repo.or.cz/qemu/ericb into…

    … staging
    
    NBD patches for 2023-07-28
    
    - Denis V. Lunev: Fix regression in 'qemu-nbd -c /dev/nbdN'
    
    # -----BEGIN PGP SIGNATURE-----
    #
    # iQEzBAABCAAdFiEEccLMIrHEYCkn0vOqp6FrSiUnQ2oFAmTD1ncACgkQp6FrSiUn
    # Q2pTJwf/ajrWlu3O6VF2xeavAbeBNpEtGkGRuuWAcY9l3XubKA6CYVOWXsXaqKiB
    # CzqaiiMpAU4EeRroOjM0REWbVr1VyHtxGV3neCxcbXoXvZXaYDaBU5KAalZv++os
    # +e0tit93LnJ+MYYx6r9z2MmD+A1yXqHo+K4lvI2hd3royYC0zn/1lFJxGqk8is8O
    # EHI9o40zMaQ2l+zrsC5tMuxQf6EGjtHm9rtRRASDnyf8V4zGEwWMQ30Xd31nFVGS
    # V9+XnIIWRNhY1DDNBnNrn6If+MiXeBfV7UPof7gMjAv7v4QdCdPELi7UBbkQU2d6
    # y87w3KxgVlgDQ7IskA+Y1ykEFXCKAw==
    # =N00U
    # -----END PGP SIGNATURE-----
    # gpg: Signature made Fri 28 Jul 2023 07:53:43 AM PDT
    # gpg:                using RSA key 71C2CC22B1C4602927D2F3AAA7A16B4A2527436A
    # gpg: Good signature from "Eric Blake <eblake@redhat.com>" [full]
    # gpg:                 aka "Eric Blake (Free Software Programmer) <ebb9@byu.net>" [full]
    # gpg:                 aka "[jpeg image of size 6874]" [full]
    
    * tag 'pull-nbd-2023-07-28' of https://repo.or.cz/qemu/ericb:
      qemu-nbd: regression with arguments passing into nbd_client_thread()
    
    Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
    rth7680 committed Jul 28, 2023
    Copy the full SHA
    ccb86f0 View commit details
    Browse the repository at this point in the history