[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [win-pv-devel] [PATCH] Increase buffer size
On Wed, 9 Oct 2019 at 09:48, Owen Smith <owen.smith@xxxxxxxxxx> wrote: > > sizeof("device/vbd/XXXXXXXX") is too small for some of the higher device > identifiers. Increase the size to allow for longer device ids. > > Signed-off-by: Owen Smith <owen.smith@xxxxxxxxxx> Acked-by: Paul Durrant <paul@xxxxxxx> > --- > src/xenvbd/adapter.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/src/xenvbd/adapter.c b/src/xenvbd/adapter.c > index 14bab4b..1ae96cf 100644 > --- a/src/xenvbd/adapter.c > +++ b/src/xenvbd/adapter.c > @@ -320,7 +320,7 @@ __AdapterHiddenTarget( > { > NTSTATUS status; > PCHAR Buffer; > - CHAR Path[sizeof("device/vbd/XXXXXXXX")]; > + CHAR Path[MAXNAMELEN]; > BOOLEAN Ejected; > BOOLEAN IsDisk; > > -- > 2.16.2.windows.1 > > > _______________________________________________ > win-pv-devel mailing list > win-pv-devel@xxxxxxxxxxxxxxxxxxxx > https://lists.xenproject.org/mailman/listinfo/win-pv-devel _______________________________________________ win-pv-devel mailing list win-pv-devel@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/mailman/listinfo/win-pv-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |