Modify

Opened 2 weeks ago

Last modified 4 days ago

#4005 new Bug

Empty ReDim make Autoit crash

Reported by: Pickwy Owned by:
Milestone: Component: AutoIt
Version: 3.3.16.1 Severity: None
Keywords: redim crash Cc: admin@…

Description

Observed : Using the empty brackets syntax with ReDim hard crash the interpreter.
Expected : Runtime error or no change to Array

Local $Dummy[] = [1, 2, 3]
ReDim $Dummy ;Do nothing at all
ReDim $Dummy[] ;Crash

Attachments (0)

Change History (1)

comment:1 Changed 4 days ago by mLipok

Issue confirmed.

IMHO: AutoIt should throw AutoIt error something like:
Array ReDim has not set number of subscripts.

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

Action
as new The ticket will remain with no owner.
Author


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

 
Note: See TracTickets for help on using tickets.