[Top][All Lists]

[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


                 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



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



Reply to this item at:


  Message sent via/by Savannah

reply via email to

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