Skip to content

Fix Workshop autoexec command buffer overflow - #1085

Merged
Kitsune44 merged 1 commit into
ReactiveDrop:reactivedrop_betafrom
Kitsune44:cbuf_overflow
Aug 8, 2026
Merged

Fix Workshop autoexec command buffer overflow#1085
Kitsune44 merged 1 commit into
ReactiveDrop:reactivedrop_betafrom
Kitsune44:cbuf_overflow

Conversation

@Kitsune44

Copy link
Copy Markdown
Contributor

Only queue autoexec commands for Workshop addons that actually provide an autoexec_.cfg file.

Previously, every subscribed addon could enqueue an execifexists command, causing the engine's command buffer to overflow when many addons were subscribed. This could cause subsequent commands, such as quit, to be dropped.

Check for the autoexec file before queuing the command and use exec directly once its existence has been confirmed.

Only queue autoexec commands for Workshop addons that actually provide an autoexec_<id>.cfg file.

Previously, every subscribed addon could enqueue an execifexists command, causing the engine's command buffer to overflow when many addons were subscribed. This could cause subsequent commands, such as quit, to be dropped.

Check for the autoexec file before queuing the command and use exec directly once its existence has been confirmed.
@Kitsune44
Kitsune44 merged commit 6885c1f into ReactiveDrop:reactivedrop_beta Aug 8, 2026
2 checks passed
@Kitsune44
Kitsune44 deleted the cbuf_overflow branch August 8, 2026 10:13
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

Successfully merging this pull request may close these issues.

1 participant