Branch: refs/heads/master
Home: https://github.com/qemu/qemu
Commit: 851495571d14fe2226c52b9d423f88a4f5460836
https://github.com/qemu/qemu/commit/851495571d14fe2226c52b9d423f88a4f5460836
Author: Peter Maydell <[email protected]>
Date: 2024-07-25 (Thu, 25 Jul 2024)
Changed paths:
M util/async.c
Log Message:
-----------
util/async.c: Forbid negative min/max in aio_context_set_thread_pool_params()
aio_context_set_thread_pool_params() takes two int64_t arguments to
set the minimum and maximum number of threads in the pool. We do
some bounds checking on these, but we don't catch the case where the
inputs are negative. This means that later in the function when we
assign these inputs to the AioContext::thread_pool_min and
::thread_pool_max fields, which are of type int, the values might
overflow the smaller type.
A negative number of threads is meaningless, so make
aio_context_set_thread_pool_params() return an error if either min or
max are negative.
Resolves: Coverity CID 1547605
Signed-off-by: Peter Maydell <[email protected]>
Reviewed-by: Philippe Mathieu-Daudé <[email protected]>
Message-id: [email protected]
Signed-off-by: Stefan Hajnoczi <[email protected]>
Commit: 9c69a83550912e9b45d4090374b9ec78396bc7df
https://github.com/qemu/qemu/commit/9c69a83550912e9b45d4090374b9ec78396bc7df
Author: Richard Henderson <[email protected]>
Date: 2024-07-26 (Fri, 26 Jul 2024)
Changed paths:
M util/async.c
Log Message:
-----------
Merge tag 'block-pull-request' of https://gitlab.com/stefanha/qemu into
staging
Pull request
Peter's AioContext thread_pool_min/max fix
# -----BEGIN PGP SIGNATURE-----
#
# iQEzBAABCAAdFiEEhpWov9P5fNqsNXdanKSrs4Grc8gFAmaisQUACgkQnKSrs4Gr
# c8jd8QgAu28jTRhvqBFq9BTX4deN3P025Pqkh4oEiK/mT1yoa1W2WtAt9irgMS9v
# TQaSPwknGF61y8fChlmsDKx6TT3EVo4lryTwc9MS2cnkwWH4nxA4Udf6VsiYKYHg
# RB2OkCiZeEjejuZkIfBcDLkrStxtKfoE4PUZAzP+NQ4uWJCpFqPT6sUhXlkAHqyC
# 0nuyCD7ixxp2KBzyemKgsHEoQJPWvz4x17+DMjBFOWf55wBZVdvQciJQoHYmnKOK
# 8m0VW6QuC5TsgAUz5NUUyNigHzK0TgduCdNkogTOy8Hl0wst/UHGzPe+9VyPglmi
# jOu8eZaVy/5DUoJWX5l7u/4U/XNeKQ==
# =Yf0z
# -----END PGP SIGNATURE-----
# gpg: Signature made Fri 26 Jul 2024 06:09:41 AM AEST
# gpg: using RSA key 8695A8BFD3F97CDAAC35775A9CA4ABB381AB73C8
# gpg: Good signature from "Stefan Hajnoczi <[email protected]>" [full]
# gpg: aka "Stefan Hajnoczi <[email protected]>" [full]
* tag 'block-pull-request' of https://gitlab.com/stefanha/qemu:
util/async.c: Forbid negative min/max in aio_context_set_thread_pool_params()
Signed-off-by: Richard Henderson <[email protected]>
Commit: 8e466dd092469e5ab0f355775c571ea96f3a8e23
https://github.com/qemu/qemu/commit/8e466dd092469e5ab0f355775c571ea96f3a8e23
Author: Richard Henderson <[email protected]>
Date: 2024-07-26 (Fri, 26 Jul 2024)
Changed paths:
M .gitlab-ci.d/buildtest.yml
Log Message:
-----------
gitlab-ci: Use -fno-sanitize=function in the clang-user job
With -fsanitize=undefined, which implies -fsanitize=function,
clang will add a "type signature" before functions.
It accesses funcptr-8 and funcptr-4 to do so.
The generated TCG prologue is directly on a page boundary,
so these accesses segfault.
Signed-off-by: Richard Henderson <[email protected]>
Message-ID: <[email protected]>
Compare: https://github.com/qemu/qemu/compare/029e13a8a56a...8e466dd09246
To unsubscribe from these emails, change your notification settings at
https://github.com/qemu/qemu/settings/notifications