option_dialog::add_option() initialized 'widget' as NULL. In most cases it then gets set to a real value, but not always. Part of the following code is within "if (widget != NULL)", but even outside that block there's some references through 'widget'.
I've not tested it yet, but this seems something that can cause a client crash.
Originally from clang static analyzer report.
option_dialog::add_option() initialized 'widget' as NULL. In most cases it then gets set to a real value, but not always. Part of the following code is within "if (widget != NULL)", but even outside that block there's some references through 'widget'.
I've not tested it yet, but this seems something that can cause a client crash.