Re: [PATCH] 9p/xen: fix check for xenbus_read error in front_probe

2018-08-14 Thread Stefano Stabellini
On Tue, 14 Aug 2018, Dominique Martinet wrote: > From: Dominique Martinet > > If the xen bus exists but does not expose the proper interface, it is > possible to get a non-zero length but still some error, leading to > strcmp failing trying to load invalid memory addresses e.g. > fffe

[PATCH] 9p/xen: fix check for xenbus_read error in front_probe

2018-08-14 Thread Dominique Martinet
From: Dominique Martinet If the xen bus exists but does not expose the proper interface, it is possible to get a non-zero length but still some error, leading to strcmp failing trying to load invalid memory addresses e.g. fffe. There is then no need to check length when there is no e