Go Back   Cockos Incorporated Forums > REAPER Forums > REAPER Bug Reports

Reply
 
Thread Tools Display Modes
Old 12-29-2021, 12:15 PM   #1
leafac
Human being with feelings
 
leafac's Avatar
 
Join Date: Sep 2020
Location: Portugal
Posts: 82
Default JSFX Crashing on Out-of-Bounds Memory Access

Example JSFX:

Code:
@init

buffer = 0;
value = buffer[99999999999];
This works in REAPER v6.30/OSX64-clang rev 78eea5 (Jul 3 2021).

It crashes in v6.43: https://gist.github.com/leafac/abc9e...a7d573bcbce312
leafac is offline   Reply With Quote
Old 12-29-2021, 01:09 PM   #2
Justin
Administrator
 
Justin's Avatar
 
Join Date: Jan 2005
Location: NYC
Posts: 13,935
Default

Thanks, fixing! This is an ARM-only issue, bge was used instead of bhs (signed vs unsigned)... this should affect 6.30 too.
Justin is online now   Reply With Quote
Old 12-29-2021, 01:27 PM   #3
leafac
Human being with feelings
 
leafac's Avatar
 
Join Date: Sep 2020
Location: Portugal
Posts: 82
Default

Ohh, I get it. Yeah, I downloaded the Intel version of 6.30 because I know back then ARM was beta…

Thanks for fixing 👏
leafac is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 11:33 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2022, vBulletin Solutions Inc.