aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBen Chan <benchan@chromium.org>2019-08-03 09:12:57 -0700
committerBen Chan <benchan@chromium.org>2019-08-03 09:16:39 -0700
commitc6cf7cf094f9974e8f5b9d3640e7d34ebc2a0482 (patch)
treef8c0e9b958bfb5179d1980db35ad00db742df8f8 /src
parentee63bf40331349b68d3c7c1f875745042953dc8f (diff)
libmm-glib,firmware-update-settings: handle null self pointer
mm_firmware_update_settings_get_variant() checks for a null `self' pointer when accessing `self->priv->method', but doesn't perform the null check when accessing other members of MMFirmwareUpdateSettingsPrivate. This patch fixes mm_firmware_update_settings_get_variant() to fully handle a null `self' pointer.
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions