Menu

#649 TUIFace::Paint crashes for icons

unspecified
pending
nobody
1
2026-09-05
2026-08-24
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 - 2026-08-25
    • labels: Crash, Internal --> Crash, Internal, Owlet
     
  • Vidar Hasfjord

    Vidar Hasfjord - 2026-08-25

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

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

     

    Related

    Commit: [r8846]

  • Vidar Hasfjord

    Vidar Hasfjord - 2026-09-05
    • status: open --> pending
     

Log in to post a comment.