mirror of https://gitlab.com/qemu-project/qemu
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
![]() We provide to sdbus_do_command() a pointer to a buffer to be filled with a varying number of bytes. By not providing the buffer size, the callee can not check the buffer is big enough. Pass the buffer size as argument to follow good practices. sdbus_do_command() doesn't return any error, only the size filled in the buffer. Convert the returned type to unsigned and remove the few unreachable lines in callers. This allow to check for possible overflow in sd_do_command(). Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20250804133406.17456-4-philmd@linaro.org> |
6 days ago | |
---|---|---|
.. | ||
acpi | 4 weeks ago | |
adc | 10 months ago | |
arm | 4 weeks ago | |
audio | 1 year ago | |
block | 2 months ago | |
char | 1 month ago | |
core | 1 month ago | |
cpu | ||
cxl | 4 weeks ago | |
display | 3 weeks ago | |
dma | 3 months ago | |
firmware | 1 year ago | |
fsi | 4 months ago | |
gpio | 2 months ago | |
hyperv | 3 months ago | |
i2c | 2 months ago | |
i386 | 4 weeks ago | |
ide | 4 months ago | |
input | 10 months ago | |
intc | 4 weeks ago | |
ipack | 6 months ago | |
ipmi | 4 months ago | |
isa | 4 months ago | |
loongarch | 2 months ago | |
m68k | 4 months ago | |
mem | 4 months ago | |
mips | 4 months ago | |
misc | 1 month ago | |
net | 4 months ago | |
nubus | 4 months ago | |
nvram | 2 months ago | |
openrisc | 6 months ago | |
pci | 4 weeks ago | |
pci-bridge | 9 months ago | |
pci-host | 4 weeks ago | |
ppc | 3 weeks ago | |
remote | 4 months ago | |
riscv | 1 month ago | |
rtc | 1 year ago | |
rx | 2 years ago | |
s390x | 2 months ago | |
scsi | 4 weeks ago | |
sd | 6 days ago | |
sensor | 3 years ago | |
sh4 | 4 months ago | |
southbridge | 4 months ago | |
sparc | 2 years ago | |
ssi | 5 months ago | |
timer | 2 months ago | |
tricore | 4 months ago | |
uefi | 5 months ago | |
usb | 6 months ago | |
vfio | 4 weeks ago | |
virtio | 4 weeks ago | |
vmapple | 5 months ago | |
watchdog | 1 year ago | |
xen | 4 weeks ago | |
xtensa | 4 months ago | |
boards.h | 4 weeks ago | |
clock.h | 8 months ago | |
elf_ops.h.inc | 1 year ago | |
fw-path-provider.h | ||
hotplug.h | 2 years ago | |
hw.h | 4 months ago | |
irq.h | 6 months ago | |
loader-fit.h | 6 months ago | |
loader.h | 2 months ago | |
nmi.h | ||
or-irq.h | 2 years ago | |
platform-bus.h | ||
ptimer.h | 3 years ago | |
qdev-clock.h | ||
qdev-core.h | 7 months ago | |
qdev-dma.h | ||
qdev-properties-system.h | 4 weeks ago | |
qdev-properties.h | 4 weeks ago | |
register.h | 4 months ago | |
registerfields.h | 3 years ago | |
resettable.h | 11 months ago | |
stream.h | ||
sysbus.h | 4 weeks ago | |
usb.h | 4 months ago | |
vmstate-if.h |