stncmp --> strncmp
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@3821 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -664,7 +664,7 @@ getit(int argc, char **argv, int restartit, char *mode)
|
|||||||
static int
|
static int
|
||||||
suspicious_filename(const char *fn)
|
suspicious_filename(const char *fn)
|
||||||
{
|
{
|
||||||
return stncmp(fn, "../", 3) == 0 || *fn == '/';
|
return strncmp(fn, "../", 3) == 0 || *fn == '/';
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Reference in New Issue
Block a user