﻿id	summary	reporter	owner	description	type	status	milestone	component	version	severity	resolution	keywords	cc
2170	_ArrayDisplay fails handling arrays with no elements	ripdad	guinness	"When trying to view with _ArrayDisplay, array.au3 crashes at:
Line #(depending on version) --> Local $avArrayText[$iUBound + 1]
{{{
#include <array.au3>

_Test()

Func _Test()
    Local $objWMI = ObjGet('Winmgmts:\\.\root\CIMV2')
    Local $objClass = $objWMI.Get('__NotifyStatus')
    Local $Value
    ;
    For $objItem in $objClass.SystemProperties_()
        $Value = $objItem.Value

        If IsArray($Value) Then

            MsgBox(0, '', 'Elements: ' & UBound($Value) & @CRLF & 'Subscripts: ' & UBound($Value, 0))

            _ArrayDisplay($Value)

        EndIf

    Next
EndFunc
}}}
Link: [http://www.autoitscript.com/forum/topic/139097-arraydisplay-and-arrays-with-no-elements/]"	Bug	closed	3.3.9.3	Standard UDFs	3.3.8.1	None	Fixed		
