replace sprintf all over the place
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1635 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -73,7 +73,7 @@ aix_setup(void)
|
||||
if (getuid() != 0 && !isSuid() && (p = getenv("AFSLIBPATH")) != NULL)
|
||||
strcpy(path, p);
|
||||
else
|
||||
sprintf(path, "%s/afslib.so", LIBDIR);
|
||||
snprintf(path, sizeof(path), "%s/afslib.so", LIBDIR);
|
||||
|
||||
ptr = dlopen(path, 0);
|
||||
if(ptr){
|
||||
|
Reference in New Issue
Block a user