Changeset 114 for trunk/dll/sysinfo.c


Ignore:
Timestamp:
Dec 5, 2004, 1:03:16 AM (21 years ago)
Author:
root
Message:

RunRmview: avoid buffer overflow

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dll/sysinfo.c

    r47 r114  
    77
    88  Copyright (c) 1993-98 M. Kimes
    9   Copyright (c) 2002, 2003 Steven H.Levine
     9  Copyright (c) 2002, 2004 Steven H.Levine
    1010
    1111  Revisions     16 Oct 02 SHL - Baseline
    1212                08 Feb 03 SHL - Enable display
     13                01 Aug 04 SHL - RunRmview: avoid buffer overflow
    1314
    1415***********************************************************************/
     
    7879        if(!fgets(s,2048,fp))
    7980          break;
    80         s[2048] = 0;
     81        s[2047] = 0;
    8182        stripcr(s);
    8283        rstrip(s);
Note: See TracChangeset for help on using the changeset viewer.