Modify ↓
Opened 18 years ago
Closed 18 years ago
#166 closed Bug (Fixed)
_ArrayMax() runs on invalid array.
| Reported by: | Evilertoaster | Owned by: | Jos |
|---|---|---|---|
| Milestone: | 3.2.11.2 | Component: | AutoIt |
| Version: | 3.2.10.0 | Severity: | |
| Keywords: | Cc: |
Description
See http://www.autoitscript.com/forum/index.php?showtopic=66284.
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 by , 18 years ago
| Milestone: | → 3.2.11.2 |
|---|---|
| Owner: | set to |
| Resolution: | → Fixed |
| Status: | new → closed |
Note:
See TracTickets
for help on using tickets.

Fixed in version: 3.2.11.2