{"id":632,"date":"2016-10-18T17:15:34","date_gmt":"2016-10-18T15:15:34","guid":{"rendered":"http:\/\/blogs.gentoo.org\/ago\/?p=632"},"modified":"2016-10-25T09:04:27","modified_gmt":"2016-10-25T07:04:27","slug":"libwmf-memory-allocation-failure-in-wmf_malloc-api-c","status":"publish","type":"post","link":"https:\/\/blogs.gentoo.org\/ago\/2016\/10\/18\/libwmf-memory-allocation-failure-in-wmf_malloc-api-c\/","title":{"rendered":"libwmf: memory allocation failure in wmf_malloc (api.c)"},"content":{"rendered":"<p><strong>Description<\/strong>:<br \/>\n<a href=\"http:\/\/wvware.sourceforge.net\/libwmf.html\">libwmf<\/a> is a library for reading vector images in Micros\u00f8ft&#8217;s native Wind\u00f8ws Metafile Format (WMF) and for either (a) displaying them in, e.g., an X window; or (b) converting them to more standard\/open file formats such as, e.g., the W3C&#8217;s XML-based Scaleable Vector Graphic (SVG) format.<\/p>\n<p>A fuzzing through imagemagick revealed a memory allocation failure. It was first reported to imagemagick developers(to double-check) which stated that the issue is in libwmf.<br \/>\nSince the libwmf project is dead the issue has not been reported elsewhere.<\/p>\n<p>The complete ASan output:<\/p>\n<pre><font size=\"2\"># identify $FILE\r\n==25497==ERROR: AddressSanitizer failed to allocate 0xfe769000 (4269182976) bytes of LargeMmapAllocator (error code: 12)                                                                                                                                                       \r\n==25497==Process memory map follows:                                                                                                                                                                                                                                           \r\n        0x000000400000-0x000000520000   \/usr\/bin\/magick                                                                                                                                                                                                                        \r\n        0x000000720000-0x000000721000   \/usr\/bin\/magick                                                                                                                                                                                                                        \r\n        0x000000721000-0x000000724000   \/usr\/bin\/magick                                                                                                                                                                                                                        \r\n        0x000000724000-0x000001397000                                                                                                                                                                                                                                          \r\n        0x00007fff7000-0x00008fff7000                                                                                                                                                                                                                                          \r\n        0x00008fff7000-0x02008fff7000                                                                                                                                                                                                                                          \r\n        0x02008fff7000-0x10007fff8000                                                                                                                                                                                                                                          \r\n        0x600000000000-0x602000000000                                                                                                                                                                                                                                          \r\n        0x602000000000-0x602000010000                                                                                                                                                                                                                                          \r\n        0x602000010000-0x603000000000                                                                                                                                                                                                                                          \r\n        0x603000000000-0x603000010000                                                                                                                                                                                                                                          \r\n        0x603000010000-0x604000000000                                                                                                                                                                                                                                          \r\n        0x604000000000-0x604000010000                                                                                                                                                                                                                                          \r\n        0x604000010000-0x606000000000                                                                                                                                                                                                                                          \r\n        0x606000000000-0x606000010000                                                                                                                                                                                                                                          \r\n        0x606000010000-0x607000000000\r\n        0x607000000000-0x607000010000\r\n        0x607000010000-0x608000000000\r\n        0x608000000000-0x608000010000\r\n        0x608000010000-0x60a000000000\r\n        0x60a000000000-0x60a000020000\r\n        0x60a000020000-0x60b000000000\r\n        0x60b000000000-0x60b000010000\r\n        0x60b000010000-0x60c000000000\r\n        0x60c000000000-0x60c000010000\r\n        0x60c000010000-0x60d000000000\r\n        0x60d000000000-0x60d000010000\r\n        0x60d000010000-0x60e000000000\r\n        0x60e000000000-0x60e000010000\r\n        0x60e000010000-0x60f000000000\r\n        0x60f000000000-0x60f000010000\r\n        0x60f000010000-0x610000000000\r\n        0x610000000000-0x610000010000\r\n        0x610000010000-0x611000000000\r\n        0x611000000000-0x611000010000\r\n        0x611000010000-0x612000000000\r\n        0x612000000000-0x612000010000\r\n        0x612000010000-0x614000000000\r\n        0x614000000000-0x614000020000\r\n        0x614000020000-0x615000000000\r\n        0x615000000000-0x615000020000\r\n        0x615000020000-0x616000000000\r\n        0x616000000000-0x616000020000\r\n        0x616000020000-0x618000000000\r\n        0x618000000000-0x618000020000\r\n        0x618000020000-0x619000000000\r\n        0x619000000000-0x619000020000\r\n        0x619000020000-0x61a000000000\r\n        0x61a000000000-0x61a000020000\r\n        0x61a000020000-0x61b000000000\r\n        0x61b000000000-0x61b000020000\r\n        0x61b000020000-0x61d000000000\r\n        0x61d000000000-0x61d000020000\r\n        0x61d000020000-0x621000000000\r\n        0x621000000000-0x621000020000\r\n        0x621000020000-0x622000000000\r\n        0x622000000000-0x622000020000\r\n        0x622000020000-0x623000000000\r\n        0x623000000000-0x623000020000\r\n        0x623000020000-0x624000000000\r\n        0x624000000000-0x624000020000\r\n        0x624000020000-0x625000000000\r\n        0x625000000000-0x625000020000\r\n        0x625000020000-0x627000000000\r\n        0x627000000000-0x627000030000\r\n        0x627000030000-0x629000000000\r\n        0x629000000000-0x629000010000\r\n        0x629000010000-0x640000000000\r\n        0x640000000000-0x640000003000\r\n        0x7f7173b49000-0x7f7173b65000   \/usr\/lib64\/libwmflite-0.2.so.7.0.1\r\n        0x7f7173b65000-0x7f7173d64000   \/usr\/lib64\/libwmflite-0.2.so.7.0.1\r\n        0x7f7173d64000-0x7f7173d65000   \/usr\/lib64\/libwmflite-0.2.so.7.0.1\r\n        0x7f7173d65000-0x7f7173d66000   \/usr\/lib64\/libwmflite-0.2.so.7.0.1\r\n        0x7f7173d66000-0x7f7173d8c000   \/usr\/lib64\/ImageMagick-7.0.3\/modules-Q64HDRI\/coders\/wmf.so\r\n        0x7f7173d8c000-0x7f7173f8b000   \/usr\/lib64\/ImageMagick-7.0.3\/modules-Q64HDRI\/coders\/wmf.so\r\n        0x7f7173f8b000-0x7f7173f8c000   \/usr\/lib64\/ImageMagick-7.0.3\/modules-Q64HDRI\/coders\/wmf.so\r\n        0x7f7173f8c000-0x7f7173f8e000   \/usr\/lib64\/ImageMagick-7.0.3\/modules-Q64HDRI\/coders\/wmf.so\r\n        0x7f7173f8e000-0x7f717a600000   \/usr\/lib64\/locale\/locale-archive\r\n        0x7f717a600000-0x7f717a700000\r\n        0x7f717a800000-0x7f717a900000\r\n        0x7f717a946000-0x7f717cc98000\r\n        0x7f717cc98000-0x7f717ccbf000   \/usr\/lib64\/libexpat.so.1.6.0\r\n        0x7f717ccbf000-0x7f717cebe000   \/usr\/lib64\/libexpat.so.1.6.0\r\n        0x7f717cebe000-0x7f717cec1000   \/usr\/lib64\/libexpat.so.1.6.0\r\n        0x7f717cec1000-0x7f717cec2000   \/usr\/lib64\/libexpat.so.1.6.0\r\n        0x7f717cec2000-0x7f717cff7000   \/usr\/lib64\/libglib-2.0.so.0.4600.2\r\n        0x7f717cff7000-0x7f717d1f7000   \/usr\/lib64\/libglib-2.0.so.0.4600.2\r\n        0x7f717d1f7000-0x7f717d1f8000   \/usr\/lib64\/libglib-2.0.so.0.4600.2\r\n        0x7f717d1f8000-0x7f717d1f9000   \/usr\/lib64\/libglib-2.0.so.0.4600.2\r\n        0x7f717d1f9000-0x7f717d1fa000\r\n        0x7f717d1fa000-0x7f717d203000   \/usr\/lib64\/libltdl.so.7.3.1\r\n        0x7f717d203000-0x7f717d402000   \/usr\/lib64\/libltdl.so.7.3.1\r\n        0x7f717d402000-0x7f717d403000   \/usr\/lib64\/libltdl.so.7.3.1\r\n        0x7f717d403000-0x7f717d404000   \/usr\/lib64\/libltdl.so.7.3.1\r\n        0x7f717d404000-0x7f717d419000   \/lib64\/libz.so.1.2.8\r\n        0x7f717d419000-0x7f717d618000   \/lib64\/libz.so.1.2.8\r\n        0x7f717d618000-0x7f717d619000   \/lib64\/libz.so.1.2.8\r\n        0x7f717d619000-0x7f717d61a000   \/lib64\/libz.so.1.2.8\r\n        0x7f717d61a000-0x7f717d629000   \/lib64\/libbz2.so.1.0.6\r\n        0x7f717d629000-0x7f717d828000   \/lib64\/libbz2.so.1.0.6\r\n        0x7f717d828000-0x7f717d829000   \/lib64\/libbz2.so.1.0.6\r\n        0x7f717d829000-0x7f717d82a000   \/lib64\/libbz2.so.1.0.6\r\n        0x7f717d82a000-0x7f717d8d1000   \/usr\/lib64\/libfreetype.so.6.12.3\r\n        0x7f717d8d1000-0x7f717dad1000   \/usr\/lib64\/libfreetype.so.6.12.3\r\n        0x7f717dad1000-0x7f717dad7000   \/usr\/lib64\/libfreetype.so.6.12.3\r\n        0x7f717dad7000-0x7f717dad8000   \/usr\/lib64\/libfreetype.so.6.12.3\r\n        0x7f717dad8000-0x7f717db13000   \/usr\/lib64\/libfontconfig.so.1.8.0\r\n        0x7f717db13000-0x7f717dd12000   \/usr\/lib64\/libfontconfig.so.1.8.0\r\n        0x7f717dd12000-0x7f717dd14000   \/usr\/lib64\/libfontconfig.so.1.8.0\r\n        0x7f717dd14000-0x7f717dd15000   \/usr\/lib64\/libfontconfig.so.1.8.0\r\n        0x7f717dd15000-0x7f717df0a000   \/usr\/lib64\/libfftw3.so.3.4.4\r\n        0x7f717df0a000-0x7f717e109000   \/usr\/lib64\/libfftw3.so.3.4.4\r\n        0x7f717e109000-0x7f717e11d000   \/usr\/lib64\/libfftw3.so.3.4.4\r\n        0x7f717e11d000-0x7f717e11e000   \/usr\/lib64\/libfftw3.so.3.4.4\r\n        0x7f717e11e000-0x7f717e12c000   \/usr\/lib64\/liblqr-1.so.0.3.2\r\n        0x7f717e12c000-0x7f717e32b000   \/usr\/lib64\/liblqr-1.so.0.3.2\r\n        0x7f717e32b000-0x7f717e32c000   \/usr\/lib64\/liblqr-1.so.0.3.2\r\n        0x7f717e32c000-0x7f717e32d000   \/usr\/lib64\/liblqr-1.so.0.3.2\r\n        0x7f717e32d000-0x7f717e380000   \/usr\/lib64\/liblcms2.so.2.0.6\r\n        0x7f717e380000-0x7f717e580000   \/usr\/lib64\/liblcms2.so.2.0.6\r\n        0x7f717e580000-0x7f717e581000   \/usr\/lib64\/liblcms2.so.2.0.6\r\n        0x7f717e581000-0x7f717e586000   \/usr\/lib64\/liblcms2.so.2.0.6\r\n        0x7f717e586000-0x7f717e719000   \/lib64\/libc-2.22.so\r\n        0x7f717e719000-0x7f717e919000   \/lib64\/libc-2.22.so\r\n        0x7f717e919000-0x7f717e91d000   \/lib64\/libc-2.22.so\r\n        0x7f717e91d000-0x7f717e91f000   \/lib64\/libc-2.22.so\r\n        0x7f717e91f000-0x7f717e923000\r\n        0x7f717e923000-0x7f717e939000   \/usr\/lib64\/gcc\/x86_64-pc-linux-gnu\/4.9.3\/libgcc_s.so.1\r\n        0x7f717e939000-0x7f717eb38000   \/usr\/lib64\/gcc\/x86_64-pc-linux-gnu\/4.9.3\/libgcc_s.so.1\r\n        0x7f717eb38000-0x7f717eb39000   \/usr\/lib64\/gcc\/x86_64-pc-linux-gnu\/4.9.3\/libgcc_s.so.1\r\n        0x7f717eb39000-0x7f717eb3a000   \/usr\/lib64\/gcc\/x86_64-pc-linux-gnu\/4.9.3\/libgcc_s.so.1\r\n        0x7f717eb3a000-0x7f717eb40000   \/lib64\/librt-2.22.so\r\n        0x7f717eb40000-0x7f717ed40000   \/lib64\/librt-2.22.so\r\n        0x7f717ed40000-0x7f717ed41000   \/lib64\/librt-2.22.so\r\n        0x7f717ed41000-0x7f717ed42000   \/lib64\/librt-2.22.so\r\n        0x7f717ed42000-0x7f717ed59000   \/lib64\/libpthread-2.22.so\r\n        0x7f717ed59000-0x7f717ef58000   \/lib64\/libpthread-2.22.so\r\n        0x7f717ef58000-0x7f717ef59000   \/lib64\/libpthread-2.22.so\r\n        0x7f717ef59000-0x7f717ef5a000   \/lib64\/libpthread-2.22.so\r\n        0x7f717ef5a000-0x7f717ef5e000\r\n        0x7f717ef5e000-0x7f717f05b000   \/lib64\/libm-2.22.so\r\n        0x7f717f05b000-0x7f717f25a000   \/lib64\/libm-2.22.so\r\n        0x7f717f25a000-0x7f717f25b000   \/lib64\/libm-2.22.so\r\n        0x7f717f25b000-0x7f717f25c000   \/lib64\/libm-2.22.so\r\n        0x7f717f25c000-0x7f717f25e000   \/lib64\/libdl-2.22.so\r\n        0x7f717f25e000-0x7f717f45e000   \/lib64\/libdl-2.22.so\r\n        0x7f717f45e000-0x7f717f45f000   \/lib64\/libdl-2.22.so\r\n        0x7f717f45f000-0x7f717f460000   \/lib64\/libdl-2.22.so\r\n        0x7f717f460000-0x7f717f926000   \/usr\/lib64\/libMagickWand-7.Q64HDRI.so.0.0.0\r\n        0x7f717f926000-0x7f717fb25000   \/usr\/lib64\/libMagickWand-7.Q64HDRI.so.0.0.0\r\n        0x7f717fb25000-0x7f717fb3a000   \/usr\/lib64\/libMagickWand-7.Q64HDRI.so.0.0.0\r\n        0x7f717fb3a000-0x7f717fb7c000   \/usr\/lib64\/libMagickWand-7.Q64HDRI.so.0.0.0\r\n        0x7f717fb7c000-0x7f718070f000   \/usr\/lib64\/libMagickCore-7.Q64HDRI.so.0.0.0\r\n        0x7f718070f000-0x7f718090e000   \/usr\/lib64\/libMagickCore-7.Q64HDRI.so.0.0.0\r\n        0x7f718090e000-0x7f7180947000   \/usr\/lib64\/libMagickCore-7.Q64HDRI.so.0.0.0\r\n        0x7f7180947000-0x7f71809b9000   \/usr\/lib64\/libMagickCore-7.Q64HDRI.so.0.0.0\r\n        0x7f71809b9000-0x7f71809bc000\r\n        0x7f71809bc000-0x7f71809de000   \/lib64\/ld-2.22.so\r\n        0x7f7180a36000-0x7f7180b04000\r\n        0x7f7180b04000-0x7f7180b27000   \/usr\/share\/locale\/it\/LC_MESSAGES\/libc.mo\r\n        0x7f7180b27000-0x7f7180bd0000\r\n        0x7f7180bd0000-0x7f7180bdd000\r\n        0x7f7180bdd000-0x7f7180bde000   \/lib64\/ld-2.22.so\r\n        0x7f7180bde000-0x7f7180bdf000   \/lib64\/ld-2.22.so\r\n        0x7f7180bdf000-0x7f7180be0000\r\n        0x7ffc0ab5e000-0x7ffc0ab7f000   [stack]\r\n        0x7ffc0abdd000-0x7ffc0abdf000   [vvar]\r\n        0x7ffc0abdf000-0x7ffc0abe1000   [vdso]\r\n        0xffffffffff600000-0xffffffffff601000   [vsyscall]\r\n==25497==End of process memory map.\r\n==25497==AddressSanitizer CHECK failed: \/var\/tmp\/portage\/sys-devel\/llvm-3.8.1-r2\/work\/llvm-3.8.1.src\/projects\/compiler-rt\/lib\/sanitizer_common\/sanitizer_common.cc:183 \"((0 &amp;&amp; \"unable to mmap\")) != (0)\" (0x0, 0x0)\r\n    #0 0x4c9f9d in AsanCheckFailed \/var\/tmp\/portage\/sys-devel\/llvm-3.8.1-r2\/work\/llvm-3.8.1.src\/projects\/compiler-rt\/lib\/asan\/asan_rtl.cc:67\r\n    #1 0x4d0ad3 in __sanitizer::CheckFailed(char const*, int, char const*, unsigned long long, unsigned long long) \/var\/tmp\/portage\/sys-devel\/llvm-3.8.1-r2\/work\/llvm-3.8.1.src\/projects\/compiler-rt\/lib\/sanitizer_common\/sanitizer_common.cc:159\r\n    #2 0x4d0cc1 in __sanitizer::ReportMmapFailureAndDie(unsigned long, char const*, char const*, int, bool) \/var\/tmp\/portage\/sys-devel\/llvm-3.8.1-r2\/work\/llvm-3.8.1.src\/projects\/compiler-rt\/lib\/sanitizer_common\/sanitizer_common.cc:183\r\n    #3 0x4d9cfa in __sanitizer::MmapOrDie(unsigned long, char const*, bool) \/var\/tmp\/portage\/sys-devel\/llvm-3.8.1-r2\/work\/llvm-3.8.1.src\/projects\/compiler-rt\/lib\/sanitizer_common\/sanitizer_posix.cc:122\r\n    #4 0x42208f in __sanitizer::LargeMmapAllocator::Allocate(__sanitizer::AllocatorStats*, unsigned long, unsigned long) \/var\/tmp\/portage\/sys-devel\/llvm-3.8.1-r2\/work\/llvm-3.8.1.src\/projects\/compiler-rt\/lib\/asan\/..\/sanitizer_common\/sanitizer_allocator.h:1033\r\n    #5 0x42208f in __sanitizer::CombinedAllocator&lt;__sanitizer::SizeClassAllocator64&lt;105553116266496ul, 4398046511104ul, 0ul, __sanitizer::SizeClassMap, __asan::AsanMapUnmapCallback&gt;, __sanitizer::SizeClassAllocatorLocalCache&lt;__sanitizer::SizeClassAllocator64&lt;105553116266496ul, 4398046511104ul, 0ul, __sanitizer::SizeClassMap, __asan::AsanMapUnmapCallback&gt; &gt;, __sanitizer::LargeMmapAllocator &gt;::Allocate(__sanitizer::SizeClassAllocatorLocalCache&lt;__sanitizer::SizeClassAllocator64&lt;105553116266496ul, 4398046511104ul, 0ul, __sanitizer::SizeClassMap, __asan::AsanMapUnmapCallback&gt; &gt;*, unsigned long, unsigned long, bool, bool) \/var\/tmp\/portage\/sys-devel\/llvm-3.8.1-r2\/work\/llvm-3.8.1.src\/projects\/compiler-rt\/lib\/asan\/..\/sanitizer_common\/sanitizer_allocator.h:1302\r\n    #6 0x42208f in __asan::Allocator::Allocate(unsigned long, unsigned long, __sanitizer::BufferedStackTrace*, __asan::AllocType, bool) \/var\/tmp\/portage\/sys-devel\/llvm-3.8.1-r2\/work\/llvm-3.8.1.src\/projects\/compiler-rt\/lib\/asan\/asan_allocator.cc:368\r\n    #7 0x42208f in __asan::asan_malloc(unsigned long, __sanitizer::BufferedStackTrace*) \/var\/tmp\/portage\/sys-devel\/llvm-3.8.1-r2\/work\/llvm-3.8.1.src\/projects\/compiler-rt\/lib\/asan\/asan_allocator.cc:718\r\n    #8 0x4c0661 in malloc \/var\/tmp\/portage\/sys-devel\/llvm-3.8.1-r2\/work\/llvm-3.8.1.src\/projects\/compiler-rt\/lib\/asan\/asan_malloc_linux.cc:53\r\n    #9 0x7f7173b4d337 in wmf_malloc \/tmp\/portage\/media-libs\/libwmf-0.2.8.4-r6\/work\/libwmf-0.2.8.4\/src\/api.c:482\r\n    #10 0x7f7173b5d2f8 in wmf_scan \/tmp\/portage\/media-libs\/libwmf-0.2.8.4-r6\/work\/libwmf-0.2.8.4\/src\/player.c:143\r\n    #11 0x7f7173d6dcf7 in ReadWMFImage \/tmp\/portage\/media-gfx\/imagemagick-7.0.3.0\/work\/ImageMagick-7.0.3-0\/coders\/wmf.c:2675:13\r\n    #12 0x7f717fde7b12 in ReadImage \/tmp\/portage\/media-gfx\/imagemagick-7.0.3.0\/work\/ImageMagick-7.0.3-0\/MagickCore\/constitute.c:496:13\r\n    #13 0x7f718057f406 in ReadStream \/tmp\/portage\/media-gfx\/imagemagick-7.0.3.0\/work\/ImageMagick-7.0.3-0\/MagickCore\/stream.c:1012:9\r\n    #14 0x7f717fde65ca in PingImage \/tmp\/portage\/media-gfx\/imagemagick-7.0.3.0\/work\/ImageMagick-7.0.3-0\/MagickCore\/constitute.c:226:9\r\n    #15 0x7f717fde6e25 in PingImages \/tmp\/portage\/media-gfx\/imagemagick-7.0.3.0\/work\/ImageMagick-7.0.3-0\/MagickCore\/constitute.c:326:10\r\n    #16 0x7f717f66c4c3 in IdentifyImageCommand \/tmp\/portage\/media-gfx\/imagemagick-7.0.3.0\/work\/ImageMagick-7.0.3-0\/MagickWand\/identify.c:319:18\r\n    #17 0x7f717f70226a in MagickCommandGenesis \/tmp\/portage\/media-gfx\/imagemagick-7.0.3.0\/work\/ImageMagick-7.0.3-0\/MagickWand\/mogrify.c:183:14\r\n    #18 0x4f1fb5 in MagickMain \/tmp\/portage\/media-gfx\/imagemagick-7.0.3.0\/work\/ImageMagick-7.0.3-0\/utilities\/magick.c:145:10\r\n    #19 0x4f1fb5 in main \/tmp\/portage\/media-gfx\/imagemagick-7.0.3.0\/work\/ImageMagick-7.0.3-0\/utilities\/magick.c:176\r\n    #20 0x7f717e5a661f in __libc_start_main \/var\/tmp\/portage\/sys-libs\/glibc-2.22-r4\/work\/glibc-2.22\/csu\/libc-start.c:289\r\n    #21 0x419138 in _init (\/usr\/bin\/magick+0x419138)\r\n<\/font><\/pre>\n<p><strong>Affected version:<\/strong><br \/>\n0.2.8.4<\/p>\n<p><strong>Fixed version:<\/strong><br \/>\nN\/A<\/p>\n<p><strong>Commit fix:<\/strong><br \/>\nN\/A<\/p>\n<p><strong>Credit:<\/strong><br \/>\nThis bug was discovered by Agostino Sarubbo of Gentoo.<\/p>\n<p><strong>CVE:<\/strong><br \/>\nCVE-2016-9011<\/p>\n<p><strong>Timeline:<\/strong><br \/>\n2016-09-14: bug discovered<br \/>\n2016-10-18: blog post about the issue<br \/>\n2016-10-25: CVE assigned<\/p>\n<p><strong>Note:<\/strong><br \/>\nThis bug was found with <a href=\"http:\/\/lcamtuf.coredump.cx\/afl\">American Fuzzy Lop<\/a>.<\/p>\n<p><strong>Permalink:<\/strong><\/p>\n<blockquote data-secret=\"Nf33TzUnSy\" class=\"wp-embedded-content\"><p><a href=\"http:\/\/blogs.gentoo.org\/ago\/2016\/10\/18\/libwmf-memory-allocation-failure-in-wmf_malloc-api-c\/\">libwmf: memory allocation failure in wmf_malloc (api.c)<\/a><\/p><\/blockquote>\n<p><iframe class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" style=\"position: absolute; clip: rect(1px, 1px, 1px, 1px);\" src=\"http:\/\/blogs.gentoo.org\/ago\/2016\/10\/18\/libwmf-memory-allocation-failure-in-wmf_malloc-api-c\/embed\/#?secret=Nf33TzUnSy\" data-secret=\"Nf33TzUnSy\" width=\"600\" height=\"338\" title=\"&#8220;libwmf: memory allocation failure in wmf_malloc (api.c)&#8221; &#8212; agostino&#039;s blog\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Description: libwmf is a library for reading vector images in Micros\u00f8ft&#8217;s native Wind\u00f8ws Metafile Format (WMF) and for either (a) displaying them in, e.g., an X window; or (b) converting them to more standard\/open file formats such as, e.g., the &hellip; <a href=\"https:\/\/blogs.gentoo.org\/ago\/2016\/10\/18\/libwmf-memory-allocation-failure-in-wmf_malloc-api-c\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":140,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"spay_email":"","jetpack_publicize_message":"","jetpack_is_tweetstorm":false,"jetpack_publicize_feature_enabled":true},"categories":[12,10],"tags":[],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p2EaBc-ac","_links":{"self":[{"href":"https:\/\/blogs.gentoo.org\/ago\/wp-json\/wp\/v2\/posts\/632"}],"collection":[{"href":"https:\/\/blogs.gentoo.org\/ago\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.gentoo.org\/ago\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.gentoo.org\/ago\/wp-json\/wp\/v2\/users\/140"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.gentoo.org\/ago\/wp-json\/wp\/v2\/comments?post=632"}],"version-history":[{"count":4,"href":"https:\/\/blogs.gentoo.org\/ago\/wp-json\/wp\/v2\/posts\/632\/revisions"}],"predecessor-version":[{"id":817,"href":"https:\/\/blogs.gentoo.org\/ago\/wp-json\/wp\/v2\/posts\/632\/revisions\/817"}],"wp:attachment":[{"href":"https:\/\/blogs.gentoo.org\/ago\/wp-json\/wp\/v2\/media?parent=632"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.gentoo.org\/ago\/wp-json\/wp\/v2\/categories?post=632"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.gentoo.org\/ago\/wp-json\/wp\/v2\/tags?post=632"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}