/[mcrypt]/libmcrypt/lib/mcrypt_modules.c
ViewVC logotype

Diff of /libmcrypt/lib/mcrypt_modules.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.30 by nmav, Sat Jul 6 10:18:18 2002 UTC revision 1.31 by nmav, Fri Dec 13 23:03:45 2002 UTC
# Line 129  void* mcrypt_dlopen ( mcrypt_dlhandle* h Line 129  void* mcrypt_dlopen ( mcrypt_dlhandle* h
129                    
130          char paths[1526];          char paths[1526];
131    
132          if (strlen(filename) > sizeof( handle->name))          if (strlen(filename) >= sizeof( handle->name))
133                  return MCRYPT_FAILED;                  return MCRYPT_FAILED;
134          else          else
135                  strcpy( handle->name, filename);                  strcpy( handle->name, filename);

Legend:
Removed from v.1.30  
changed lines
  Added in v.1.31

webmaster@linux.gr
ViewVC Help
Powered by ViewVC 1.1.26