Changeset 2f0d5e4 in rtems


Ignore:
Timestamp:
08/26/13 01:00:31 (11 years ago)
Author:
Cynthia Rempel <cynthia@…>
Branches:
4.11, 5, master
Children:
2bd440e
Parents:
df533f1
git-author:
Cynthia Rempel <cynthia@…> (08/26/13 01:00:31)
git-committer:
Sebastian Huber <sebastian.huber@…> (08/26/13 07:25:58)
Message:

Initialize the string before replacing characters

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tools/build/unhex.c

    rdf533f1 r2f0d5e4  
    546546    while ( ! endrecord && (fgets(buff, sizeof(buff), ifp)))
    547547    {
     548        p = &buff[0];
    548549        if (p[strlen(p)-1] == '\n')                 /* get rid of newline */
    549550            p[strlen(p)-1] = '\0';
     
    554555        tb.dl_count = 0;
    555556
    556         p = &buff[0];
    557557        eol = FALSE;
    558558        while ( ! eol && ! endrecord)
Note: See TracChangeset for help on using the changeset viewer.