Menu

#649 TUIFace::Paint crashes for icons

unspecified
open
nobody
1
6 days ago
7 days ago
No

TUIFace::Paint (TDC&, const TPoint&...) calls Bm->Size() for case SourceType == sIcon, in which case Bm is nullptr (see constructor TUIFace::TUIFace (const TRect&, const TIcon&...); since [r3548], Bm is initialised to nullptr, and before then, it was left uninitialised).

Related

Commit: [r3548]

Discussion

  • Vidar Hasfjord

    Vidar Hasfjord - 6 days ago
    • labels: Crash, Internal --> Crash, Internal, Owlet
     
  • Vidar Hasfjord

    Vidar Hasfjord - 6 days ago

    This is issue has been fixed in Owlet [r8846].

    Resolution: The code now calls TIcon::GetInfo to retrieve icon size.

     

    Related

    Commit: [r8846]


Log in to post a comment.