#521 Undefined behavior when opening document map on prehistoric systems

Next_major_release
closed
nobody
None
6
2013-10-01
2013-08-25
No

If transparency is unavailable then launchDocMap() fails to construct _pDocMap, but the pointer is still used later on. This doesn't seem to lead to a crash (at least not using my compiler) but it is still undefined behavior to call a method on a null pointer. The menu item and tool bar item are also toggled which they shouldn't.

1 Attachments

Discussion

  • Don HO

    Don HO - 2013-09-09
    • status: open --> accepted
    • Priority: 5 --> 6
     
  • Don HO

    Don HO - 2013-10-01
    • status: accepted --> closed
     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks