When the serial port is not open, internal_queue_command (mm-serial-port.c) invokes serial_probe_at_parse_response (mm-port-probe.c) with a NULL response. This patch modifies serial_probe_at_parse_response to handle NULL response properly. --- src/mm-port-probe.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/mm-port-probe.c b/src/mm-port-probe.c index baadee0..1d630a4 100644 --- a/src/mm-port-probe.c +++ b/src/mm-port-probe.c @@ -450,7 +450,7 @@ serial_probe_at_parse_response (MMAtSerialPort *port, } if (!task->at_commands->response_processor (task->at_commands->command, - response->str, + response ? response->str : NULL, !!task->at_commands[1].command, error, &result, -- 1.7.7.3 _______________________________________________ networkmanager-list mailing list networkmanager-list@gnome.org https://mail.gnome.org/mailman/listinfo/networkmanager-list