lp:~alan-griffiths/mir/fix-1475994-g++-5-backport-to-0.13
- Get this branch:
- bzr branch lp:~alan-griffiths/mir/fix-1475994-g++-5-backport-to-0.13
Branch merges
- Mir development team: Pending requested
-
Diff: 205 lines (+25/-71)8 files modifieddebian/changelog (+9/-0)
examples/basic.c (+2/-2)
examples/flicker.c (+2/-2)
src/client/rpc/mir_protobuf_rpc_channel.cpp (+0/-1)
src/include/common/mir/protobuf/google_protobuf_guard.h (+0/-40)
src/protobuf/google_protobuf_guard.cpp (+10/-23)
src/server/frontend/protobuf_connection_creator.cpp (+0/-1)
tests/unit-tests/android_input/property_map.cpp (+2/-2)
Branch information
Recent revisions
- 2554. By Alberto Aguirre
-
Avoid allocating mir::protobuf objects on the stack
When an addition is made to a protobuf message, a stack allocation of such object may differ from what the destructor of that message is expecting as the destructor is defined by libmirprotobuf and the allocation may have been made from an older definition of the message (by an older mirclient library for example) which can lead to stack corruption.
Ideally, the mirprotobuf library would have versioned symbols and have the ability to be loaded in parallel to a previous version but that's not currently possible.
As an alternative, avoid allocating mir defined protobuf objects on the stack and instead use the xxx::default_
instance( ).New() factory methods which are defined in the mirprotobuf library. Backport of lp:mir r2674
- 2553. By Alexandros Frantzis
-
debian: Update dependency of client-
platform- mesa-dev to account for header packaging change Backport of lp:mir r2667
- 2551. By Daniel van Vugt
-
Mir 0.13.2 is already in distro. Bump the version to 0.13.3 in anticipation
for any future point release.
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp:mir