[linux-cifs-client] Re: cifs vfs 0.9.9a for 2.4 released to web site

Matt Seitz seitz at metadata-systems.com
Fri Dec 12 20:59:43 GMT 2003


Lin Li wrote:

> +       if (strlen(path) > PATH_MAX) {
> +               printf("Mount point string too long\n");
> +               return NULL;
> +       }
> +
> +       if (path == NULL)
> +               return NULL;

Shouldn't path be checked for NULL before calling stlrlen(path)?



More information about the linux-cifs-client mailing list