﻿id	summary	reporter	owner	description	type	status	milestone	component	version	severity	resolution	keywords	cc
2198	DllStructGetData causes crash	JFX		"DllStructGetData sometimes crashes on a wchar Structure.
Only happens on the first run, never in a loop.
Also happens rarely so push F5 a ""few"" times.



{{{

$ret = DllCall(""shell32.dll"", ""ptr"", ""CommandLineToArgvW"", ""wstr"", $CmdLineRaw, ""int*"", 0)
If @error Or Not $ret[0] Then Exit 1
$tPtr = DllStructCreate(""ptr"", $ret[0])
$retarr = DllStructGetData($tPtr, 1)
$tBuffer = DllStructCreate(""wchar[4095]"", $retarr)

;crash occurs here
$aRet = DllStructGetData($tBuffer, 1)
DllCall(""kernel32.dll"", ""ptr"", ""LocalFree"", ""ptr"", $ret[0])

}}}

"	Bug	closed		AutoIt	3.3.8.1	None	No Bug		
