bugAVR C Runtime Library - Bugs: bug #33130, twitest.c source code is broken

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #33130: twitest.c source code is broken

Submitter:  Antoine Mercier-Linteau <tinss>
Submitted:  Wed 20 Apr 2011 05:05:15 AM UTC
   
 
Category:  Documentation Severity:  3 - Normal
Priority:  5 - Normal Item Group:  None
Status:  Fixed Assigned to:  arcanum
Percent Complete:  100% Open/Closed:  Closed
Release:  Any Fixed Release:  1.7.2

Thu 12 May 2011 03:41:57 AM UTC, comment #1: 

Thanks for the patch!

Eric Weddington <arcanum>
Group administrator
Wed 20 Apr 2011 05:05:15 AM UTC, original submission:  

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.

Antoine Mercier-Linteau <tinss>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attached Files
file #23279:  twitest.c added by tinss (14KiB - text/x-csrc)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by arcanum (Posted a comment)
  • -email is unavailable- added by tinss (Submitted the item)
  • -email is unavailable- added by tinss
  •  

    Follow 7 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2011-05-12 arcanum StatusNone Fixed
        Percent Complete0% 100%
        Assigned toNone arcanum
        Open/ClosedOpen Closed
        Fixed ReleaseNone 1.7.2
    2011-04-20 tinss Attached File- Added twitest.c, #23279
        Carbon-Copy- Added tinss

    Back to the top

    Powered by Savane 3.13-758e.
    Corresponding source code