void-packages/srcpkgs/libwmf/patches/03_font.c-compare-fonts-by-name.patch
maxice8 cd9b331d9f
libwmf: import debian patches to fix CVEs and gdk-pixbuf loader location
CVEs fixed:
- CVE-2006-3376
- CVE-2009-1364
- CVE-2015-0848
- CVE-2015-4588
- CVE-2015-4695
- CVE-2015-4696
- CVE-2016-9011
2018-08-23 17:16:47 -03:00

11 lines
257 B
Diff

--- src/font.c
+++ src/font.c
@@ -199,7 +199,7 @@
unsigned int i = 0;
while (font_data->cache[i].name)
- { if (strcmp (font_data->cache[i].path,entry->path) == 0) break;
+ { if (strcmp (font_data->cache[i].name,entry->name) == 0) break;
i++;
}