[patch] 1/3 libgsmd-toolwill crash under atcmd mode
balrogg at gmail.com
Tue Dec 4 11:49:17 CET 2007
On 04/12/2007, Sean Chiang <sean_chiang at openmoko.com> wrote:
> Because illegal memory access, libgsmd-tool will crash under atcmd mode.
> With this patch, fix it.
Good catch! However, the expression should be "--*rx_len" because the
memcpy() two lines below, will overwrite the '\0' byte and the string
will not be null terminated (in case *rx_len is < than rgmh->len).
More information about the gsmd-devel