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

LUA: BR_GetSetTrackSendInfo() instant crash if sent nil parameter name #1636

Closed
MonkeyBars3k opened this issue May 14, 2022 · 2 comments
Closed

Comments

@MonkeyBars3k
Copy link

macOS 10.14.6
Reaper 6.57

Calling reaper.BR_GetSetTrackSendInfo() in LUA with nil as the 4th argument (parmname) causes an immediate Reaper crash any time it is invoked.

@cfillion
Copy link
Collaborator

cfillion commented May 14, 2022

Can't duplicate in REAPER 6.57, but I can confirm the bug in v6.57+dev0509 or newer.

  • ReaScript: make Lua handling of unspecified Optional const char* parameters consistent with other types/EEL2 [t=266405]

BR_GetSetTrackSendInfo's parmname parameter isn't optional though (and EEL2 isn't affected), so guessing this is a bug on REAPER's side.

EDIT: Reported. https://forum.cockos.com/showthread.php?p=2558076

@nofishonfriday
Copy link
Collaborator

Fixed in REAPER v6.58rc2.

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

No branches or pull requests

3 participants