qemu-patch-raspberry4/hw/net
Gonglei b0af844007 rtl8139: fix Pointer to local outside scope
Coverity spot:
 Assigning: iov = struct iovec [3]({{buf, 12UL},
                       {(void *)dot1q_buf, 4UL},
                       {buf + 12, size - 12}})
 (address of temporary variable of type struct iovec [3]).
 out_of_scope: Temporary variable of type struct iovec [3] goes out of scope.

Pointer to local outside scope (RETURN_LOCAL)
use_invalid:
 Using iov, which points to an out-of-scope temporary variable of type struct iovec [3].

Signed-off-by: Gonglei <arei.gonglei@huawei.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Jason Wang <jasowang@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
2014-11-21 10:50:54 +00:00
..
fsl_etsec
allwinner_emac.c
cadence_gem.c
dp8393x.c nic: do not destroy memory regions in cleanup functions 2014-08-17 23:25:24 +02:00
e1000.c bootindex: move calling add_boot_device_patch to bootindex setter function 2014-10-15 10:46:01 +02:00
e1000_regs.h e1000: improve auto-negotiation reporting via mii-tool 2014-06-23 17:38:00 +03:00
eepro100.c bootindex: move calling add_boot_device_patch to bootindex setter function 2014-10-15 10:46:01 +02:00
etraxfs_eth.c
lan9118.c
lance.c pcnet: add bootindex to qom property 2014-10-15 09:52:54 +02:00
Makefile.objs
mcf_fec.c nic: do not destroy memory regions in cleanup functions 2014-08-17 23:25:24 +02:00
milkymist-minimac2.c memory: add parameter errp to memory_region_init_ram 2014-09-09 13:41:43 +02:00
mipsnet.c
ne2000-isa.c ne2000: add bootindex to qom property 2014-10-15 09:52:54 +02:00
ne2000.c bootindex: move calling add_boot_device_patch to bootindex setter function 2014-10-15 10:46:01 +02:00
ne2000.h
opencores_eth.c
pcnet-pci.c pcnet: add bootindex to qom property 2014-10-15 09:52:54 +02:00
pcnet.c pcnet: fix Negative array index read 2014-11-21 10:50:54 +00:00
pcnet.h pcnet: add bootindex to qom property 2014-10-15 09:52:54 +02:00
rtl8139.c rtl8139: fix Pointer to local outside scope 2014-11-21 10:50:54 +00:00
smc91c111.c
spapr_llan.c bootindex: move calling add_boot_device_patch to bootindex setter function 2014-10-15 10:46:01 +02:00
stellaris_enet.c memory: remove memory_region_destroy 2014-08-18 12:06:21 +02:00
vhost_net.c virtio: Import virtio_vring.h 2014-09-22 11:39:49 +01:00
virtio-net.c bootindex: move calling add_boot_device_patch to bootindex setter function 2014-10-15 10:46:01 +02:00
vmware_utils.h
vmxnet3.c bootindex: move calling add_boot_device_patch to bootindex setter function 2014-10-15 10:46:01 +02:00
vmxnet3.h
vmxnet_debug.h
vmxnet_rx_pkt.c
vmxnet_rx_pkt.h
vmxnet_tx_pkt.c
vmxnet_tx_pkt.h
xen_nic.c
xgmac.c
xilinx_axienet.c
xilinx_ethlite.c