6 Apr
2016
6 Apr
'16
4:14 p.m.
Did you allocate one more entry in your argv than is needed for actual arguments and put a terminating NULL? You're supposed to. -Ken
On Apr 6, 2016, at 3:41 PM, Theodore Dubois <tblodt(a)icloud.com> wrote:
This patch causes a segfault in the event that __wine_main_argv is not the argv that got passed to main. This happened in a program I wrote that acts as a custom wine loader. It creates an argv by using malloc, then passes that to wine_init.
Why wouldn’t setprogname(argv[1]) be adequate?
~Theodore
On Feb 19, 2016, at 2:33 PM, Charles Davis <cdavis5x(a)gmail.com> wrote:
Signed-off-by: Charles Davis <cdavis5x(a)gmail.com>