Changeset f98c74e for zephyr.c


Ignore:
Timestamp:
Apr 5, 2009, 7:36:53 PM (15 years ago)
Author:
James M. Kretchmar <kretch@mit.edu>
Branches:
owl
Children:
51b6c7c
Parents:
9948234
Message:
Fix some strcpy's that could be vulnerable
Remove an unused function
File:
1 edited

Legend:

Unmodified
Added
Removed
  • zephyr.c

    rf19fef4 rf98c74e  
    100100  FILE *file;
    101101  char *tmp, *start;
    102   char buffer[1024], subsfile[1024];
     102  char buffer[1024], subsfile[MAXPATHLEN];
    103103  ZSubscription_t subs[3001];
    104104  int count, ret;
     
    188188  FILE *file;
    189189  ZSubscription_t subs[3001];
    190   char subsfile[1024], buffer[1024];
     190  char subsfile[MAXPATHLEN], buffer[1024];
    191191  int count, ret, i;
    192192  struct stat statbuff;
     
    674674{
    675675#ifdef HAVE_LIBZEPHYR
    676   char *line, subsfile[LINE], buff[LINE];
     676  char *line, subsfile[MAXPATHLEN], buff[LINE];
    677677  FILE *file;
    678678
Note: See TracChangeset for help on using the changeset viewer.