]> git.pld-linux.org Git - packages/qemu.git/blob - qemu-CVE-2018-20815.patch
- updated to 5.0.0; specific bluetooth support is gone
[packages/qemu.git] / qemu-CVE-2018-20815.patch
1 diff --git a/device_tree.c b/device_tree.c
2 index 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.030544 seconds and 3 git commands to generate.