Re: [Qemu-devel] [PATCH v2] qga: replace GetIfEntry

2017-11-07 Thread Michael Roth
Quoting ZhiPeng Lu (2017-11-03 09:54:20) > The data obtained by GetIfEntry is 32 bits, and it may overflow. Thus using > GetIfEntry2 instead of GetIfEntry. > > Signed-off-by: ZhiPeng Lu > --- > qga/commands-win32.c | 31 ++- > 1 file changed, 18 insertions(+), 13 del

[Qemu-devel] [PATCH v2] qga: replace GetIfEntry

2017-11-03 Thread ZhiPeng Lu
The data obtained by GetIfEntry is 32 bits, and it may overflow. Thus using GetIfEntry2 instead of GetIfEntry. Signed-off-by: ZhiPeng Lu --- qga/commands-win32.c | 31 ++- 1 file changed, 18 insertions(+), 13 deletions(-) diff --git a/qga/commands-win32.c b/qga/comm