Summary: | Off-by-one error in FcLangSetIndex() | ||
---|---|---|---|
Product: | fontconfig | Reporter: | Florent Rougon <f.rougon> |
Component: | library | Assignee: | fontconfig-bugs |
Status: | RESOLVED FIXED | QA Contact: | Behdad Esfahbod <freedesktop> |
Severity: | normal | ||
Priority: | medium | CC: | akira |
Version: | 2.12 | ||
Hardware: | All | ||
OS: | All | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: | Commit (as output by 'git format-patch') |
Description
Florent Rougon
2017-06-08 13:59:25 UTC
Thanks. though I'm not sure if this is really likely to happen. but the fix itself makes sense. merged in git. Thank you. It's true that I don't expect the problem to manifest itself in any concrete way (before the fix) unless some rather drastic change were made to fontconfig, or the code in question being extracted and used for some other purpose. That's why my reproducing procedure involved removing a few languages! However, it was a logical error I found when reading the code, and I would have felt uncomfortable just leaving it there. Thanks for having applied the fix! Regards |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.