Closed Bug 1254426 Opened 8 years ago Closed 8 years ago

graphite2: stack-overflow in [@graphite2::Slot::finalise] Slot.cpp:136

Categories

(Core :: Graphics: Text, defect)

defect
Not set
critical

Tracking

()

RESOLVED FIXED
Tracking Status
firefox45 --- disabled
firefox46 --- fixed
firefox47 --- fixed
firefox48 --- fixed
firefox-esr38 46+ disabled
firefox-esr45 46+ disabled

People

(Reporter: tsmith, Unassigned)

References

(Blocks 1 open bug)

Details

(4 keywords, Whiteboard: [gfx-noted])

Attachments

(1 file)

1.62 KB, application/x-font-ttf
Details
Attached file test_case.ttf
Found in graphite2 revision bc0ed88404ae7561f8f4ae2cd6dc52dbf55ef8b2

==65085==ERROR: AddressSanitizer: stack-overflow on address 0x7ffe7f7e0fb8 (pc 0x7f2b02245629 bp 0x7ffe7f7e1090 sp 0x7ffe7f7e0fc0 T0)
    #0 0x7f2b02245628 in graphite2::GlyphCache::glyph(unsigned short) const /home/user/code/graphite/src/GlyphCache.cpp:213
    #1 0x7f2b022819be in graphite2::GlyphCache::glyphSafe(unsigned short) const /home/user/code/graphite/src/inc/GlyphCache.h:156:36
    #2 0x7f2b022819be in graphite2::Slot::finalise(graphite2::Segment const*, graphite2::Font const*, graphite2::Position&, graphite2::Rect&, unsigned char, float&, bool, bool) /home/user/code/graphite/src/Slot.cpp:101
    ...
    #252 0x7f2b0228240a in graphite2::Slot::finalise(graphite2::Segment const*, graphite2::Font const*, graphite2::Position&, graphite2::Rect&, unsigned char, float&, bool, bool) /home/user/code/graphite/src/Slot.cpp:136:25
fixed? in 18442d1d5fe7fff1c046368b209b9504e3a13f17
Verified with graphite revision 18442d1d5fe7fff1c046368b209b9504e3a13f17
Whiteboard: [gfx-noted]
Depends on: 1255158
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Group: gfx-core-security → core-security-release
Graphite2 has been updated on all affected branches including ESRs.
Group: core-security-release
You need to log in before you can comment on or make changes to this bug.