Merge lp:~andreas-pokorny/mir/fix-null-cmdline-crash into lp:mir
Proposed by
Andreas Pokorny
Status: | Rejected |
---|---|
Rejected by: | Daniel van Vugt |
Proposed branch: | lp:~andreas-pokorny/mir/fix-null-cmdline-crash |
Merge into: | lp:mir |
Diff against target: |
37 lines (+15/-1) 2 files modified
src/platform/options/default_configuration.cpp (+3/-1) tests/acceptance-tests/server_configuration_options.cpp (+12/-0) |
To merge this branch: | bzr merge lp:~andreas-pokorny/mir/fix-null-cmdline-crash |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Alan Griffiths | Disapprove | ||
PS Jenkins bot (community) | continuous-integration | Approve | |
Daniel van Vugt | Approve | ||
Gerry Boland | Pending | ||
Review via email: mp+265936@code.launchpad.net |
Commit message
merged from 0.14.0: fix to avoid crash within qtmir test suite when accessing missing program parameter
qmir test suite passes an empty (argc == 0) command line to mir. Due to a change in configuration handling we access argv[0] on server construction.
Description of the change
This is one of the small changes that were necessary to release 0.14.0. This change allows providing argc=0 to Server. qtmir does that in a couple of tests.
To post a comment you must log in.
Unmerged revisions
- 2783. By Andreas Pokorny
-
merged from 0.14.0: fix to avoid crash within qtmir test suite
qmir test suite passes an empty (argc == 0) command line to mir. Due to a change in configuration handling we access argv[0] on server construction.
I realize it is low cost, but should we support this usecase? (Or fix qtmir?)