Re: Patch: avoid crashes is config files contain junk

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


Le mercredi 21 février 2007 à 18:11 +0100, Mike FABIAN a écrit :> If ~/.fonts.conf contains:> >   <edit mode="assign_replace" name="spacing">>    <int>mono</int>>   </edit>> > > fontconfig crashes:> >     mfabian@magellan:~$ fc-match sans>     Fontconfig error: "~/.fonts.conf", line 46: "mono": not a valid integer>     セグメンテーション違反です (core dumped)>     mfabian@magellan:~$> > Of course the above is nonsense, “mono” is no valid integer indeed.> > But I think nevertheless fontconfig should not crash in that case.> > A patch is attached. 
It seems this patch never got committed on GIT.
Keith, any comment ?
-- Frederic Crozat <fcrozat@xxxxxxxxxxxx>Mandriva
_______________________________________________Fontconfig mailing listFontconfig@xxxxxxxxxxxxxxxxxxxxxxxxx://

[Index of Archives]     [Fedora Fonts]     [Fedora Users]     [Fedora Cloud]     [Kernel]     [Fedora Packaging]     [Fedora Desktop]     [PAM]     [Gimp Graphics Editor]     [Yosemite News]

  Powered by Linux