bugThe FreeType Project - Bugs: bug #48877, valgrind: Conditional jump or move...

 
 

bug #48877: valgrind: Conditional jump or move depends on uninitialised value

Submitted by:  None
Submitted on:  Tue 23 Aug 2016 08:31:24 PM UTC  
 
Severity: 3 - NormalItem Group: Incorrect behaviour
Status: FixedPrivacy: Public
Assigned to: Alexei Podtelezhnikov <podtelez>Open/Closed: Closed
Planned Release: 2.7.0

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Wed 24 Aug 2016 11:02:05 AM UTC, comment #2:

It was harmless. It was fixed by this commit. Now this code is gone altogether.

Alexei Podtelezhnikov <podtelez>
Project MemberIn charge of this item.
Wed 24 Aug 2016 06:15:06 AM UTC, comment #1:

Alexei, please have a look.

Werner LEMBERG <wl>
Project Administrator
Tue 23 Aug 2016 08:31:24 PM UTC, original submission:

valgrind detected a read of an uninitialized variable:

==31623== by 0x103F6F72: gray_hline (ftgrays.c:1361)
==31623== by 0x103F719D: gray_sweep (ftgrays.c:1449)
==31623== by 0x103F74FE: gray_convert_glyph (ftgrays.c:1964)
==31623== by 0x103F7988: gray_raster_render (ftgrays.c:2101)
==31623== by 0x10378F0D: FT_Outline_Render (ftoutln.c:640)
==31623== by 0x10378FBB: FT_Outline_Get_Bitmap (ftoutln.c:681)
==31623== by 0x415FDE1: QFontEngineFT::loadGlyph(QFontEngineFT::QGlyphSet*, unsigned int, QFixed, QFontEngine::GlyphFormat, bool) const (qfontengine_ft.cpp:1100)
==31623== by 0x41616F7: QFontEngineFT::loadGlyphFor(unsigned int, QFixed, QFontEngine::GlyphFormat, QTransform const&, bool) (qfontengine_ft.cpp:1817)
==31623== by 0x416289D: QFontEngineFT::lockedAlphaMapForGlyph(unsigned int, QFixed, QFontEngine::GlyphFormat, QTransform const&, QPoint*) (qfontengine_ft.cpp:1760)
==31623== by 0x583778F: QRasterPaintEngine::drawCachedGlyphs(int, unsigned int const, QFixedPoint const, QFontEngine*) (qpaintengine_raster.cpp:2759)

The offending variable is span->coverage in ftgrays.c:1361 (branch 2.6.5)

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by podtelez (Posted a comment)
  • -unavailable- added by wl (Posted a comment)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 24 Aug 2016 11:02:05 AM UTCpodtelezStatusNone=>Fixed
      Open/ClosedOpen=>Closed
      Planned ReleaseNone=>2.7.0
    Wed 24 Aug 2016 06:15:06 AM UTCwlAssigned toNone=>podtelez

    Back to the top


    Powered by Savane 3.1-cleanup1