Fix a crash with unsolicited notifications
authorDenis Kenzior <denkenz@gmail.com>
Tue, 21 Jul 2009 19:38:29 +0000 (14:38 -0500)
committerMarcel Holtmann <marcel@holtmann.org>
Tue, 21 Jul 2009 19:45:01 +0000 (21:45 +0200)
commit5b69740e1c72bd261bc37adc6fbbf09fa50cc5a2
treecfe51aca3542c1752e3ce68000e9e916a923f223
parent7c73daec2f89ccd829881c608e833e5dc859bbcb
Fix a crash with unsolicited notifications

When a line comes in from the modem, we check against prefixes
in outstanding commands and unsolicited notifications.  If the
outstanding command has not yet been sent (cmd_bytes_written == 0),
we still check it resulting in access violation.
gatchat/gatchat.c