Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failure when system/script/args > 1022 bytes #2140

Closed
Siskin-Bot opened this issue Feb 15, 2020 · 1 comment
Closed

Failure when system/script/args > 1022 bytes #2140

Siskin-Bot opened this issue Feb 15, 2020 · 1 comment
Labels

Comments

@Siskin-Bot
Copy link
Collaborator

Submitted by: giuliolunati

Args string get truncated after 1022 bytes.
May happen segfault.

test.reb:
print system/script/args

>> r3 test.reb `seq 101 1000`
==101 102 ... 355 35 357 3D

>> r3 test.reb `seq 101 2000`
Segmentation fault

Imported from: CureCode [ Version: r3 master Type: Bug Platform: All Category: Console Reproduce: Always Fixed-in:none ]
Imported from: metaeducation#2140

Comments:

Rebolbot commented on Apr 1, 2014:

Submitted by: giuliolunati

Fix submitted (PR 215)


Rebolbot mentioned this issue on Jan 22, 2016:
[Epic] Command-Line Interface Improvements


Rebolbot added Type.bug and Status.important on Jan 12, 2016


Oldes commented on Jun 27, 2018:

The PR is here: rebol/rebol#215


Oldes added a commit to Oldes/Rebol3 that referenced this issue on Jun 27, 2018:
FIX: Failure when system/script/args > 1022 bytes


@Siskin-Bot Siskin-Bot added Oldes.resolved Bugs/wishes with Oldes' fixes/features Status.important Type.bug labels Feb 15, 2020
@Oldes Oldes added the Test wanted It would be nice to write a test label Jun 20, 2020
@Oldes
Copy link
Owner

Oldes commented Jun 20, 2020

It works now, tested on Linux.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants