[Fontconfig-bugs] [Bug 71085] "out of memory" errors on empty match element in fonts.conf

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Oct 31 13:32:55 CET 2013


https://bugs.freedesktop.org/show_bug.cgi?id=71085

Akira TAGOH <akira at tagoh.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |akira at tagoh.org

--- Comment #2 from Akira TAGOH <akira at tagoh.org> ---
(In reply to comment #0)
> Under Debian/unstable, after upgrading fontconfig from 2.10.2 to 2.11, I get
> "out of memory" errors with the following fonts.conf file:
> 
> <?xml version="1.0"?>
> <!DOCTYPE fontconfig SYSTEM "fonts.dtd">
> <fontconfig>
> <match target="font">
>   <!-- Commented out code. -->
> </match>
> </fontconfig>
> 
> According to the DTD, it is valid.

that is invalid case. DTD says:

<!ELEMENT match (test*, edit*)+>

match element has to contain one test or edit at least.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/fontconfig-bugs/attachments/20131031/f80c6658/attachment.html>


More information about the Fontconfig-bugs mailing list