← Back to team overview

touch-packages team mailing list archive

[Bug 1521795] Re: BasicSurface::set_cursor_image can create references to null pointers

 

** Changed in: mir
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to mir in Ubuntu.
https://bugs.launchpad.net/bugs/1521795

Title:
  BasicSurface::set_cursor_image can create references to null pointers

Status in Mir:
  Fix Released
Status in mir package in Ubuntu:
  Fix Released

Bug description:
  Creating references to null pointers is undefined behavior.

  This can happen if a client disables the cursor on a surface via:

   auto conf = mir_cursor_configuration_from_name(mir_disabled_cursor_name);
  mir_surface_configure_cursor(mir_surface, conf);

To manage notifications about this bug go to:
https://bugs.launchpad.net/mir/+bug/1521795/+subscriptions