avr-libc-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[avr-libc-dev] [bug #33130] twitest.c source code is broken


From: Antoine Mercier-Linteau
Subject: [avr-libc-dev] [bug #33130] twitest.c source code is broken
Date: Wed, 20 Apr 2011 05:05:16 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Ubuntu/10.10 Chromium/10.0.648.133 Chrome/10.0.648.133 Safari/534.16

URL:
  <http://savannah.nongnu.org/bugs/?33130>

                 Summary: twitest.c source code is broken
                 Project: AVR C Runtime Library
            Submitted by: tinss
            Submitted on: Wed 20 Apr 2011 05:05:15 AM GMT
                Category: Documentation
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: None
                  Status: None
        Percent Complete: 0%
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
                 Release: Any
           Fixed Release: None

    _______________________________________________________

Details:

The loop at line never exits, because len is reset to 0 when a NAK is received
and thus wraps around at the next iteration.

See attached for a fix.



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Wed 20 Apr 2011 05:05:15 AM GMT  Name: twitest.c  Size: 14kB   By: tinss

<http://savannah.nongnu.org/bugs/download.php?file_id=23279>

    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?33130>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]