qemu-devel
[
Top
][
All Lists
]
Advanced
[
Date Prev
][
Date Next
][
Thread Prev
][
Thread Next
][
Date Index
][
Thread Index
]
Potential Null dereference
From
:
Mansour Ahmadi
Subject
:
Potential Null dereference
Date
:
Mon, 23 Mar 2020 23:05:08 -0400
Hi,
Nullness of needs to be checked here:
https://github.com/qemu/qemu/blob/c532b954d96f96d361ca31308f75f1b95bd4df76/block/commit.c#L221
pstrcpy
(bs->
exact_filename
,
sizeof
(bs->
exact_filename
),...
While it is done at 2 other locations:
https://github.com/qemu/qemu/blob/c532b954d96f96d361ca31308f75f1b95bd4df76/block/backup-top.c#L113
https://github.com/qemu/qemu/blob/c532b954d96f96d361ca31308f75f1b95bd4df76/block/mirror.c#L1477
if
(bs->
backing
==
NULL
) {
return}
Thanks,
Mansour
reply via email to
[Prev in Thread]
Current Thread
[
Next in Thread
]
Potential Null dereference
,
Mansour Ahmadi
<=
Re: Potential Null dereference
,
Philippe Mathieu-Daudé
,
2020/03/24
Re: Potential Null dereference
,
Kevin Wolf
,
2020/03/24
Re: Potential Null dereference
,
Vladimir Sementsov-Ogievskiy
,
2020/03/24
Re: Potential Null dereference
,
Vladimir Sementsov-Ogievskiy
,
2020/03/24
Re: Potential Null dereference
,
Kevin Wolf
,
2020/03/24
Prev by Date:
Re: [PATCH v2 1/1] net/colo-compare.c: Fix memory leak in packet_enqueue()
Next by Date:
Re: [PATCH v15 Kernel 4/7] vfio iommu: Implementation of ioctl for dirty pages tracking.
Previous by thread:
Potential missing checks
Next by thread:
Re: Potential Null dereference
Index(es):
Date
Thread