Skip to content
Snippets Groups Projects
Commit dd53be28 authored by Lyndon Brown's avatar Lyndon Brown Committed by Steve Lhomme
Browse files

plugins: fix prefs crash from null option shorttext in mock/test options

These options have null shorttext labels because they are not meant to show
up in GUI preferences. They were not configured in any way to be hidden
from GUI prefs though. Being available in GUI prefs yet having a null
shorttext pointer breaks the expectations of the GUI prefs code resulting
in a null-deref crash.

(The crash occurs upon simply selecting these plugin nodes within the
advanced preferences tree, or upon opening the new upcoming 'expert'
preferences interface).

The most appropriate solution is to mark these developer options as
private. Since there is actually no need for these options to be saved in
the saved settings file, I have marked them as volatile, which also implies
private.
parent 49dc4a6d
No related branches found
No related tags found
1 merge request!1351plugins: fix prefs crash from null option shorttext in mock/test options
Pipeline #188189 passed with stage
in 19 minutes and 20 seconds
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment