qemu-devel
[
Top
][
All Lists
]
Advanced
[
Date Prev
][
Date Next
][
Thread Prev
][
Thread Next
][
Date Index
][
Thread Index
]
Potential missing checks
From
:
Mansour Ahmadi
Subject
:
Potential missing checks
Date
:
Mon, 23 Mar 2020 18:03:29 -0400
Hi QEMU developers,
I noticed the following two potential missing checks by static analysis and detecting inconsistencies on the source code of QEMU. here is the result:
1)
Missing check on offset:
https://github.com/qemu/qemu/blob/c532b954d96f96d361ca31308f75f1b95bd4df76/disas/arm.c#L2728-L2733
While it is checked here:
https://github.com/qemu/qemu/blob/c532b954d96f96d361ca31308f75f1b95bd4df76/disas/arm.c#L1748-L1752
2)
Missing check on bmds->dirty_bitmap:
https://github.com/qemu/qemu/blob/c532b954d96f96d361ca31308f75f1b95bd4df76/migration/block.c#L377-L378
While it is checked here:
https://github.com/qemu/qemu/blob/c532b954d96f96d361ca31308f75f1b95bd4df76/migration/block.c#L363-L365
Thanks,
Mansour
reply via email to
[Prev in Thread]
Current Thread
[
Next in Thread
]
Potential missing checks
,
Mansour Ahmadi
<=
Re: Potential missing checks
,
Peter Maydell
,
2020/03/24
Re: Potential missing checks
,
Mansour Ahmadi
,
2020/03/24
Re: Potential missing checks
,
Peter Maydell
,
2020/03/24
Re: Potential missing checks
,
Mansour Ahmadi
,
2020/03/24
Prev by Date:
Re: [PATCH v4 0/2] Replaced locks with lock guard macros
Next by Date:
Re: [PATCH v1 09/22] vfio/common: check PASID alloc/free availability
Previous by thread:
Re: [PATCH v4 0/2] introduction of migration_version attribute for VFIO live migration
Next by thread:
Re: Potential missing checks
Index(es):
Date
Thread