[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
CreateProcessW and NSZoneMalloc (Was Re: Build a project with PC in Wind
From: |
Germán Arias |
Subject: |
CreateProcessW and NSZoneMalloc (Was Re: Build a project with PC in Windows) |
Date: |
Sat, 08 Mar 2014 19:32:29 -0600 |
User-agent: |
GNUMail (Version 1.2.1) |
According with this:
http://msdn.microsoft.com/en-us/library/windows/desktop/ms682425%28v=vs.85%29.aspx
"lpCommandLine [in, out, optional]
The Unicode version of this function, CreateProcessW, can modify the contents
of this string. Therefore, this parameter cannot be a pointer to read-only
memory (such as a const variable or a literal string). If this parameter is a
constant string, the function may cause an access violation."
In NSTask (line 1113) this parameter is created with NSZoneMalloc(). As far I
understand the size of this data is fixed. So cannot be changed right? Could be
this the problem?
Germán.
- Build a project with PC in Windows, Germán Arias, 2014/03/08
- CreateProcessW and NSZoneMalloc (Was Re: Build a project with PC in Windows),
Germán Arias <=
- Re: Build a project with PC in Windows, Riccardo Mottola, 2014/03/09
- Re: Build a project with PC in Windows, Germán Arias, 2014/03/09
- Re: Build a project with PC in Windows, Germán Arias, 2014/03/24
- Re: Build a project with PC in Windows, Fred Kiefer, 2014/03/24
- Re: Build a project with PC in Windows, Germán Arias, 2014/03/25
- Re: Build a project with PC in Windows, Germán Arias, 2014/03/25
- Re: Build a project with PC in Windows, Richard Frith-Macdonald, 2014/03/25
- Re: Build a project with PC in Windows, Germán Arias, 2014/03/25
- Re: Build a project with PC in Windows, Germán Arias, 2014/03/26