Non init'ed "nd" in svc_export_parse() ?
Zoltan Menyhart
Zoltan.Menyhart at bull.net
Thu Jul 5 10:07:41 EDT 2007
There is a "struct nameidata nd" allocated on the call frame of
svc_export_parse().
Only "nd.dentry" is initialized to NULL before calling
path_lookup(buf, 0, &nd).
I had a look at the other places where path_lookup() is called.
Apparently svc_export_parse() does not initialize some fields
which are init'ed elsewhere, before calling path_lookup(), e.g.
"nd.intent.*".
Should not be these fields be init'ed to some reasonable value?
Thanks,
Zoltan Menyhart
More information about the NFSv4
mailing list