]> git.pld-linux.org Git - packages/qemu.git/blame - qemu-CVE-2018-20815.patch
- moved distro provided udev rules to /lib/udev
[packages/qemu.git] / qemu-CVE-2018-20815.patch
CommitLineData
d60e9420
AO
1diff --git a/device_tree.c b/device_tree.c
2index 6d9c972..296278e 100644
3--- a/device_tree.c
4+++ b/device_tree.c
5@@ -91,7 +91,7 @@ void *load_device_tree(const char *filename_path, int *sizep)
6 /* First allocate space in qemu for device tree */
7 fdt = g_malloc0(dt_size);
8
9- dt_file_load_size = load_image(filename_path, fdt);
10+ dt_file_load_size = load_image_size(filename_path, fdt, dt_size);
11 if (dt_file_load_size < 0) {
12 error_report("Unable to open device tree file '%s'",
13 filename_path);
This page took 0.025647 seconds and 4 git commands to generate.