← Back to team overview

touch-packages team mailing list archive

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

 

** Also affects: mir (Ubuntu)
   Importance: Undecided
       Status: New

-- 
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 Committed
Status in mir package in Ubuntu:
  New

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