Changeset 7925


Ignore:
Timestamp:
03/14/19 14:24:41 (2 months ago)
Author:
paulf
Message:

cleaned up another potential overflow in libsrc/wfdiskputaway.c

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/libsrc/util/wfdiscputaway.c

    r7513 r7925  
    262262  char datatype[3]; 
    263263  char lddate[19]; //Needs space for the null character from strftime, so makeing 19 bytes 
    264   char dfile_name[33]; // 33 taken from WFDISC30 struct in gbase libraries 
     264  char dfile_name[34]; // 33 taken from WFDISC30 struct in gbase libraries (added one more for null char) 
    265265  FILE * w_fp; 
    266266  long foff = 0; //byte offset for .w file 
Note: See TracChangeset for help on using the changeset viewer.