Send commitlog mailing list submissions to
        [email protected]

To subscribe or unsubscribe via the World Wide Web, visit
        http://lists.openmoko.org/mailman/listinfo/commitlog
or, via email, send a message with subject or body 'help' to
        [EMAIL PROTECTED]

You can reach the person managing the list at
        [EMAIL PROTECTED]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of commitlog digest..."
Today's Topics:

   1. r4066 - trunk/src/target/gsm/src/gsmd
      ([EMAIL PROTECTED])
--- Begin Message ---
Author: erin_yueh
Date: 2008-02-15 08:23:19 +0100 (Fri, 15 Feb 2008)
New Revision: 4066

Modified:
   trunk/src/target/gsm/src/gsmd/atcmd.c
Log:
gsmd: bug fixed for atcmd buffer lengh (Erin Yueh)


Modified: trunk/src/target/gsm/src/gsmd/atcmd.c
===================================================================
--- trunk/src/target/gsm/src/gsmd/atcmd.c       2008-02-15 03:34:21 UTC (rev 
4065)
+++ trunk/src/target/gsm/src/gsmd/atcmd.c       2008-02-15 07:23:19 UTC (rev 
4066)
@@ -619,8 +619,7 @@
        atcmd->cb = cb;
        atcmd->resp = NULL;
        atcmd->timeout = NULL;
-       strlcpy(atcmd->buf, cmd, buflen);
-
+       strncpy(atcmd->buf, cmd, buflen-1);
        if (!ct)
                atcmd->create_timer_func = discard_timer; 
        else




--- End Message ---
_______________________________________________
commitlog mailing list
[email protected]
http://lists.openmoko.org/mailman/listinfo/commitlog

Reply via email to