aboutsummaryrefslogtreecommitdiff
path: root/cli/mmcli-modem-simple.c
diff options
context:
space:
mode:
authorDan Williams <dcbw@redhat.com>2012-03-23 10:15:39 -0500
committerDan Williams <dcbw@redhat.com>2012-03-23 10:58:59 -0500
commitd41d62f57743580f306ac2703561d1f17b45145e (patch)
tree272bb573d88339c77b267ee68d9bd9dd1a536dcb /cli/mmcli-modem-simple.c
parentac92ac74984a75ca4e125c0eabf8acba048a2b35 (diff)
serial: fix crash when sending some commands to a closed port (lp:963102)
If the command we're sending doesn't have a callback, don't try to call NULL. Triggered if the port got closed (because the modem crashed, or refcounting errors or whatever) with some code like this: mm_at_serial_port_queue_command (MM_AT_SERIAL_PORT (port), "+CREG=0", 3, NULL, NULL);
Diffstat (limited to 'cli/mmcli-modem-simple.c')
0 files changed, 0 insertions, 0 deletions