[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] qga: check length of command-line & environment
From: |
P J P |
Subject: |
Re: [Qemu-devel] [PATCH] qga: check length of command-line & environment variables |
Date: |
Thu, 24 Jan 2019 23:23:06 +0530 (IST) |
+-- On Thu, 24 Jan 2019, Michael Roth wrote --+
| I would call a helper function like get_args_max() or whatever and have
| the posix implementation in qga/commands-posix.c and a stub'd version
| in qga/commands-win32.c. There's an article here that might be useful
| for figuring out how we would implement get_args_max() it for win32:
|
| https://blogs.msdn.microsoft.com/oldnewthing/20031210-00/?p=41553
Interesting, I'll follow-up on it.
Thank you.
--
Prasad J Pandit / Red Hat Product Security Team
47AF CE69 3A90 54AA 9045 1053 DD13 3D32 FE5B 041F