Opened 16 years ago

Closed 16 years ago

#166 closed Bug (Fixed)

_ArrayMax() runs on invalid array.

Reported by: Evilertoaster Owned by: Jos
Milestone: Component: AutoIt
Version: Severity:
Keywords: Cc:



The _ArrayMax() function only works on 1 dimentional arrays, but does not return a error if someone tries it with a multi-dimentional array. This results in a crash from within the UDF.

Proposed solution is to add this to line 319 of Array.au3-
'If IsArray($avArray) and UBound($avArray,0)=1 Then'
which would make sure the array is single dimentional before attempting to run.

Attachments (0)

Change History (1)

comment:1 Changed 16 years ago by Jos

  • Milestone set to
  • Owner set to Jos
  • Resolution set to Fixed
  • Status changed from new to closed

Fixed in version:

Guidelines for posting comments:

  • You cannot re-open a ticket but you may still leave a comment if you have additional information to add.
  • In-depth discussions should take place on the forum.

For more information see the full version of the ticket guidelines here.

Add Comment

Modify Ticket

as closed The owner will remain Jos.

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.