[ nedit-Bugs-2074318 ] buffer overflow with >9 arguments to action routine

SourceForge.net noreply at sourceforge.net
Mon Aug 25 22:29:18 CEST 2008


Bugs item #2074318, was opened at 2008-08-25 22:29
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=111005&aid=2074318&group_id=11005

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Program
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Bert Wesarg (lebert)
Assigned to: Nobody/Anonymous (nobody)
Summary: buffer overflow with >9 arguments to action routine

Initial Comment:
There is an limit of the number of arguments to an action routine (its 9), which is not checked, if you pass more than 9 arguments to the routine. I suspect, that this is a left over from removing the <=9 arguments limit for macro subroutines.

Here are two proposals:

A) check the number of arguments for <=9

or

B) remove this limitation from action routines, too

both proposals are implemented in the attached patches, respectively.

Any preferences?

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=111005&aid=2074318&group_id=11005


More information about the Develop mailing list