Mir

libmirserver.so and libmirclient.so both have symbols for mir_egl_mesa_display_is_valid()

Bug #1177902 reported by Kevin DuBois
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mir
Fix Released
High
Alexandros Frantzis

Bug Description

mir_egl_mesa_display_is_valid() was originally made for Mesa to authenticate the EGLNativeDisplayType that it gets on the client side with the Mir server. However, since we started having internal clients, this symbol was added to libmirserver.so so our internal clients can authenticate their connection as well. (i'm guessing that this is because it was easier to do without changing mesa)

This is a problem because if an ipc client links to the libmirserver.so implementation of mir_egl_mesa_display_is_valid() (or vice versa), it will run code that doesn't make sense for the type of client that it is.
This might cause some funny bugs based on linking.

Related branches

Kevin DuBois (kdub)
description: updated
Changed in mir:
status: New → Triaged
Changed in mir:
assignee: nobody → Alexandros Frantzis (afrantzis)
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :

Fix committed into lp:mir at revision None, scheduled for release in mir, milestone 0.0.7

Changed in mir:
status: Triaged → Fix Committed
Changed in mir:
milestone: none → 0.0.7
Changed in mir:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.