[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] Re: [PATCH]: fix crash in various tools by permitting xs_*() with NULL path
On 07/20/2010 07:02 PM, Gianni Tedesco wrote: On the contrary open(NULL, O_RDONLY) will... The difference is FILE * is a struct wheras the change I am proposing in this case is to treat NULL as the empty string in the case of paths. Returning EFAULT is one possible outcome, but a SIGSEGV or SIGBUS is also valid according to POSIX. Paolo _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |