 
	
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Minios-devel] [UNIKRAFT PATCH] lib/vfscore: stat() - Return EINVAL if pathname is NULL
 On 8/22/19 10:08 AM, Costin Lupu wrote: Hi Sharan, Thanks for looking into this. Please see inline. On 8/21/19 7:12 PM, Sharan Santhanam wrote:Hello Costin, Please find the review comment inline. Thanks & Regards Sharan On 8/21/19 3:50 PM, Costin Lupu wrote: I would keep it at stat. The path_conv is used either from stat or from namei_follow_link. The path_conv assumes the path variable to be not NULL because in the `namei_follow_link` and its callee there are no check for NULL and tracing the path variable further up the path variable seem to used even before the call to path_conv. It might be necessary to add this error propagation at multiple call site. We could add it as we face it. return __xstat(1, pathname, st); }_______________________________________________ Minios-devel mailing list Minios-devel@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/mailman/listinfo/minios-devel _______________________________________________ Minios-devel mailing list Minios-devel@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/mailman/listinfo/minios-devel 
 
 
 | 
|  | Lists.xenproject.org is hosted with RackSpace, monitoring our |